.. / CVE-2022-4140

Exploit for WordPress Welcart e-Commerce <2.8.5 - Arbitrary File Access (CVE-2022-4140)

Description:

WordPress Welcart e-Commerce plugin before 2.8.5 is susceptible to arbitrary file access. The plugin does not validate user input before using it to output the content of a file, which can allow an attacker to read arbitrary files on the server, obtain sensitive information, modify data, and/or execute unauthorized operations.

Nuclei Template

View the template here CVE-2022-4140.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-4140.yaml
Copy

References:

https://wpscan.com/vulnerability/0d649a7e-3334-48f7-abca-fff0856e12c7
https://nvd.nist.gov/vuln/detail/CVE-2022-4140
https://wordpress.org/plugins/usc-e-shop/