Drupal Core
Drupal core Un-restricted Upload of File
Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 9.0.0, < 9.0.8
Fixed in 9.0.8
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 8.9.0, < 8.9.9
Fixed in 8.9.9
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 8.0.0, < 8.8.11
Fixed in 8.8.11
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 7.0.0, < 7.74
Fixed in 7.74
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 7.0.0, < 7.74
Fixed in 7.74
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 8.0.0, < 8.8.11
Fixed in 8.8.11
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 8.9.0, < 8.9.9
Fixed in 8.9.9
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
- >= 9.0.0, < 9.0.8
Fixed in 9.0.8
from GitHub Security Advisory GHSA-68jc-v27h-vhmw
Mitigation
Upgrade drupal/core to 9.0.8 or later.
Upgrade drupal/core to 8.9.9 or later.
Upgrade drupal/core to 8.8.11 or later.
Upgrade drupal/core to 7.74 or later.
Upgrade drupal/drupal to 7.74 or later.
Upgrade drupal/drupal to 8.8.11 or later.
Upgrade drupal/drupal to 8.9.9 or later.
Upgrade drupal/drupal to 9.0.8 or later.
Timeline
Days relative to CVE publicationFirst public PoC 5.8 years after publication; added to CISA KEV 1.2 years after publication. First PoC: Dungsocool/CVE-2020-13671-old (created 22 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs
PoCs 4
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Dungsocool/CVE-2020-13671-old | 22 Aug 2026 +5.8 y | backfilled | 0 | PoC |
| Dungsocool/CVE-2020-13671 | 22 Aug 2026 +5.8 y | backfilled | 0 | PoC |
| ivanesk315/CVE-2020-13671 | 10 Sep 2026 +5.8 y | backfilled | 0 | PoC via PoC Index |
| d4ytox/CVE-2020-13671 | 10 Nov 2026 +6.0 y | 14 Nov 2026 | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 4 PoC reposGET /node/add/article
- Ports
- 8080
- Seen in
- 2 repos: Dungsocool/CVE-2020-13671, Dungsocool/CVE-2020-13671-old
- Evidence
- Dungsocool/CVE-2020-13671/exploit.py:42 Dungsocool/CVE-2020-13671-old/exploit.py:42
GET /sites/default/files/{var}
- Query
cmd=- Ports
- 8080
- Seen in
- 2 repos: Dungsocool/CVE-2020-13671, Dungsocool/CVE-2020-13671-old
- Evidence
- Dungsocool/CVE-2020-13671/exploit.py:77 Dungsocool/CVE-2020-13671-old/exploit.py:77
GET /user/login
- Ports
- 8080
- Seen in
- 2 repos: Dungsocool/CVE-2020-13671, Dungsocool/CVE-2020-13671-old
- Evidence
- Dungsocool/CVE-2020-13671/exploit.py:18 Dungsocool/CVE-2020-13671-old/exploit.py:18
POST /node/add/article
- Key headers
Accept: application/json- Body markers
name=pass=form_build_id=form_id=user_login_formop=Log ininapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 2 repos: Dungsocool/CVE-2020-13671, Dungsocool/CVE-2020-13671-old
- Evidence
- Dungsocool/CVE-2020-13671/exploit.py:67 Dungsocool/CVE-2020-13671-old/exploit.py:67
POST /user/login
- Body markers
name=pass=form_build_id=form_id=user_login_formop=Log ininapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 2 repos: Dungsocool/CVE-2020-13671, Dungsocool/CVE-2020-13671-old
- Evidence
- Dungsocool/CVE-2020-13671/exploit.py:34 Dungsocool/CVE-2020-13671-old/exploit.py:34
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/node/add/article(?:[?#].*)?$
(?i)^/sites/default/files/[^/?#]*\?(?:.*&)?cmd=
(?i)^/user/login(?:[?#].*)?$
(?i)^/node/add/article(?:[?#].*)?$
(?i)^/user/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2020-13671 Drupal Drupal Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/node/add/article"; reference:url,poc.griffinguard.io/cve/CVE-2020-13671; classtype:web-application-attack; sid:9854201; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2020-13671 Drupal Drupal Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/sites/default/files/"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2020-13671; classtype:web-application-attack; sid:9288392; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2020-13671 Drupal Drupal Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/user/login"; reference:url,poc.griffinguard.io/cve/CVE-2020-13671; classtype:web-application-attack; sid:9248417; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2020-13671 Drupal Drupal Core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/node/add/article"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"name="; http.request_body; content:"pass="; http.request_body; content:"form_build_id="; http.request_body; content:"form_id=user_login_form"; http.request_body; content:"op=Log in"; reference:url,poc.griffinguard.io/cve/CVE-2020-13671; classtype:web-application-attack; sid:9581569; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2020-13671 Drupal Drupal Core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/user/login"; http.request_body; content:"name="; http.request_body; content:"pass="; http.request_body; content:"form_build_id="; http.request_body; content:"form_id=user_login_form"; http.request_body; content:"op=Log in"; reference:url,poc.griffinguard.io/cve/CVE-2020-13671; classtype:web-application-attack; sid:9549113; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Drupal Drupal Core exploit attempt (CVE-2020-13671)
id: gg-pocmon-cve-2020-13671-9854201
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-13671. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-13671
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/node/add/article'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.13671
title: Drupal Drupal Core exploit attempt (CVE-2020-13671)
id: gg-pocmon-cve-2020-13671-9288392
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-13671. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-13671
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/sites/default/files/'
cs-uri-query|contains|all:
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.13671
title: Drupal Drupal Core exploit attempt (CVE-2020-13671)
id: gg-pocmon-cve-2020-13671-9248417
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-13671. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-13671
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/user/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.13671
title: Drupal Drupal Core exploit attempt (CVE-2020-13671)
id: gg-pocmon-cve-2020-13671-9581569
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-13671. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-13671
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/node/add/article'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.13671
title: Drupal Drupal Core exploit attempt (CVE-2020-13671)
id: gg-pocmon-cve-2020-13671-9549113
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-13671. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2020-13671
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/user/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2020.13671