2021-08-16 19:18:49 +00:00
|
|
|
id: CVE-2021-38751
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ExponentCMS <= 2.6 Host Header Injection
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
A HTTP Host header attack exists in ExponentCMS 2.6
|
|
|
|
and below in /exponent_constants.php. A modified HTTP
|
|
|
|
header can change links on the webpage to an arbitrary value,
|
|
|
|
leading to a possible attack vector for MITM.
|
2021-08-20 12:34:08 +00:00
|
|
|
reference:
|
2021-08-16 19:18:49 +00:00
|
|
|
- https://github.com/exponentcms/exponent-cms/issues/1544
|
|
|
|
- https://github.com/exponentcms/exponent-cms/blob/a9fa9358c5e8dc2ce7ad61d7d5bea38505b8515c/exponent_constants.php#L56-L64
|
|
|
|
tags: cve,cve2021,exponentcms
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
|
|
|
|
cvss-score: 4.30
|
|
|
|
cve-id: CVE-2021-38751
|
|
|
|
cwe-id: CWE-116
|
2021-08-16 19:18:49 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-08-25 21:13:53 +00:00
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
2021-08-16 19:18:49 +00:00
|
|
|
headers:
|
2021-08-18 13:54:49 +00:00
|
|
|
Host: "{{randstr}}.tld"
|
2021-08-17 11:43:45 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2021-08-16 19:18:49 +00:00
|
|
|
matchers:
|
2021-08-25 21:13:53 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '{{randstr}}.tld'
|
|
|
|
- 'EXPONENT.PATH'
|
|
|
|
- 'EXPONENT.URL'
|
2021-08-16 19:18:49 +00:00
|
|
|
part: body
|
2021-08-25 21:13:53 +00:00
|
|
|
condition: and
|
2021-08-17 11:42:51 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-08-25 21:13:53 +00:00
|
|
|
- 200
|