Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-38751
HistoryAug 16, 2021 - 7:18 p.m.

ExponentCMS <= 2.6 - Host Header Injection

2021-08-1619:18:49
ProjectDiscovery
github.com
4
exponentcms
http host header injection
mitm
cve-2021-38751
update
vulnerability
patch

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

AI Score

4.6

Confidence

High

EPSS

0.002

Percentile

54.1%

An 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.

id: CVE-2021-38751

info:
  name: ExponentCMS <= 2.6 - Host Header Injection
  author: dwisiswant0
  severity: medium
  description: An 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.
  impact: |
    An attacker can manipulate the Host header to perform various attacks, including phishing, session hijacking, and cache poisoning.
  remediation: |
    Upgrade ExponentCMS to a version higher than 2.6 or apply the provided patch to fix the Host Header Injection vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2021-38751
    - https://github.com/exponentcms/exponent-cms/issues/1544
    - https://github.com/exponentcms/exponent-cms/blob/a9fa9358c5e8dc2ce7ad61d7d5bea38505b8515c/exponent_constants.php#L56-L64
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/ARPSyndicate/cvemon
  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.3
    cve-id: CVE-2021-38751
    cwe-id: CWE-116
    epss-score: 0.0012
    epss-percentile: 0.46178
    cpe: cpe:2.3:a:exponentcms:exponentcms:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: exponentcms
    product: exponentcms
  tags: cve2021,cve,exponentcms

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    headers:
      Host: '{{randstr}}.tld'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{randstr}}.tld'
          - 'EXPONENT.PATH'
          - 'EXPONENT.URL'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502200c9de711b9786c049f73c15b0223611bef7cb5071f7c90fffa3216428df1c0cf022100d0de84a185ff234412a326bd15ec0e53cda0c64981c4d4c3eb436f7698cb3dd3:922c64590222798bb761d5b6d8e72950

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

AI Score

4.6

Confidence

High

EPSS

0.002

Percentile

54.1%

Related for NUCLEI:CVE-2021-38751