CVE-2021-20091
published 2021-04-29CVE-2021-20091: The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 do not properly sanitize user input. An…
PriorityP179high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
8.69%
94.5th percentile
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 do not properly sanitize user input. An authenticated remote attacker could leverage this vulnerability to alter device configuration, potentially gaining remote code execution.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| buffalo | wsr-2533dhp3-bk_firmware | <= 1.24 | — |
| buffalo | wsr-2533dhpl2-bk_firmware | <= 1.02 | — |
Detection & IOCsextracted from sources · hover to see the quote
commandcurl --include -X POST http:///apply_abstract.cgi -H "Referer: http:///ping.html" --data "action=start_ping&httoken=&submit_button=ping.html&action_params=blink_time%3D5&ARC_ping_ipaddress=%0AARC_SYS_TelnetdEnable=1&ARC_ping_status=0&TMP_Ping_Type=4"↗
commandaction=start_ping&httoken={{trimprefix(base64_decode(httoken), base64_decode("R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"))}}&submit_button=ping.html&action_params=blink_time%3D5&ARC_ping_ipaddress=127.0.0.1%0AARC_SYS_TelnetdEnable=1&ARC_ping_status=0&TMP_Ping_Type=4↗
- →Path traversal bypass uses URL-encoded `..%2f` sequences prepended with whitelisted directory names (images/, js/, css/) to bypass authentication checks on the Buffalo router web interface. ↗
- →Exploitation of CVE-2021-20091 involves a POST to `/apply_abstract.cgi` (reached via path traversal) with a newline-injected `ARC_ping_ipaddress` parameter to enable Telnet (`ARC_SYS_TelnetdEnable=1`). Detect POST requests to paths matching `*..%2fapply_abstract.cgi` with body containing `ARC_SYS_TelnetdEnable`. ↗
- →Successful exploitation results in an HTTP 302 redirect to `/Success.htm`. Monitor for 302 responses to POST requests targeting `apply_abstract.cgi` via path traversal. ↗
- →Reconnaissance/check requests for CVE-2021-20091 access `/images/..%2finfo.html` with a Referer header pointing to `/info.html`. Detect GET requests with `..%2f` traversal in the path targeting Buffalo router web interfaces. ↗
- →The httoken CSRF token is extracted from a base64-encoded value in the page source matching the regex `base64\,(.*?)" border=`. Attackers obtain this token from `/loginerror.html` without authentication via the path traversal bypass. ↗
- →GreyNoise tracks active exploitation under tags 'Buffalo Router RCE Check' (unknown intent) and 'Buffalo Router RCE Attempt' (malicious intent) for CVE-2021-20091. ↗
- ·CVE-2021-20091 and CVE-2021-20092 have only been confirmed on Buffalo WSR-2533 models, while the related path traversal auth bypass (CVE-2021-20090) affects a much broader set of Arcadyan-based devices. ↗
- ·Exploitation requires a valid httoken CSRF token. However, the token can be obtained unauthenticated by accessing `/loginerror.html` via the path traversal bypass, effectively making the attack unauthenticated in practice. ↗
- ·Certain CGI files require both a valid httoken and a valid Referer header. The Referer must NOT contain the `..%2f` traversal string, requiring proxy match/replace to function correctly during exploitation. ↗
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
vulncheck8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-6rqh-8mhj-w4pr: The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1
ghsa_unreviewed·2022-05-24
CVE-2021-20091 [HIGH] GHSA-6rqh-8mhj-w4pr: The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 do not properly sanitize user input. An authenticated remote attacker could leverage this vulnerability to alter device configuration, potentially gaining remote code execution.
VulnCheck
Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 Configuration Injection
vulncheck·2021·CVSS 8.8
CVE-2021-20091 [HIGH] Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 Configuration Injection
Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 Configuration Injection
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 do not properly sanitize user input. An authenticated remote attacker could leverage this vulnerability to alter device configuration, potentially gaining remote code execution.
Affected: buffalo wsr-2533dhpl2-bk_firmware
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://twitter.com/ESETresearch/status/1440052837820428298?s=20; https://cujo.com/blog/iot-botnet-report-2021-malware-and-vulnerabilities-targeted/
No detection rules found.
Nuclei
Buffalo WSR-2533DHPL2 - Configuration File Injection
nuclei·CVSS 8.8
CVE-2021-20091 [HIGH] Buffalo WSR-2533DHPL2 - Configuration File Injection
Buffalo WSR-2533DHPL2 - Configuration File Injection
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 does not properly sanitize user input. An authenticated remote attacker could leverage this vulnerability to alter device configuration, potentially leading to remote code execution.
Template:
id: CVE-2021-20091
info:
name: Buffalo WSR-2533DHPL2 - Configuration File Injection
author: gy741,pdteam,parth
severity: high
description: |
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 does not properly sanitize user input. An authenticated remote attacker could leverage this vulnerability to alter device configuration, potentially leading to remote code execution.
impa
Nuclei
Buffalo WSR-2533DHPL2 - Improper Access Control
nuclei·CVSS 8.8
CVE-2021-20092 [HIGH] Buffalo WSR-2533DHPL2 - Improper Access Control
Buffalo WSR-2533DHPL2 - Improper Access Control
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 do not properly restrict access to sensitive information from an unauthorized actor.
Template:
id: CVE-2021-20092
info:
name: Buffalo WSR-2533DHPL2 - Improper Access Control
author: gy741,pdteam,parth
severity: high
description: |
The web interfaces of Buffalo WSR-2533DHPL2 firmware version <= 1.02 and WSR-2533DHP3 firmware version <= 1.24 do not properly restrict access to sensitive information from an unauthorized actor.
impact: |
An attacker can exploit this vulnerability to gain unauthorized access to the router's configuration settings and potentially compromise the entire network.
remediation: |
Apply the latest firmware up
Tenable
Multiple Vulnerabilities in Buffalo and Arcadyan manufactured routers
blogs_tenable·2021-04-23
Multiple Vulnerabilities in Buffalo and Arcadyan manufactured routers
## Cloud Exposure
Tenable Cloud Security (CNAPP) Request a demo
Tenable Cloud Vulnerability Management Request a demo
Tenable CIEM Request a demo
Secure your cloud
## Vulnerability Exposure
Tenable Vulnerability Management Try for free
Tenable Security Center Request a demo
Tenable Web App Scanning Try for free
Tenable Patch Management Request a demo
Tenable Enclave Security Request a demo
Tenable Attack Surface Management Request a demo
Tenable Nessus Try for free
## AI Exposure
Tenable AI Exposure Request a demo
## OT/IoT Exposure
Tenable OT Security Request a demo
## Identity Exposure
Tenable Identity Exposure Request a demo
## Business needs
Active Directory
AI Security Posture Management (AI-SPM)
AWS security
Azure security
Cloud Security Posture Man
Greynoiseio
Malicious Tag Roundup (Aug 2-16, 2021)
blogs_greynoiseio·CVSS 6.6
[MEDIUM] Malicious Tag Roundup (Aug 2-16, 2021)
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Find out immediately if an asset communicates with a malicious IP address
Vulnerability Prioritization Get real-time insight into active exploitation trends to better understand risk and severity
SOC Efficiency Filter out noisy, low priority and false-positive alerts from mass internet scanners
Incident Investigation Add context to incidents to speed the determinations of scope and timelines
Threat Hunting Quickly identify anomalous behavior and enrich your threat hunting campaigns
Why GreyNoise
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Fin
2021-04-29
Published
Exploited in the wild