Headline
CVE-2023-20151: Cisco Security Advisory: Cisco Small Business RV016, RV042, RV042G, RV082 , RV320, and RV325 Routers Cross-Site Scripting Vulnerabilities
Multiple vulnerabilities in the web-based management interface of Cisco Small Business RV016, RV042, RV042G, RV082, RV320, and RV325 Routers could allow an unauthenticated, remote attacker to conduct cross-site scripting (XSS) attacks against a user of the interface. These vulnerabilities are due to insufficient input validation by the web-based management interface. An attacker could exploit these vulnerabilities by sending crafted HTTP requests to an affected device and then persuading a user to visit specific web pages that include malicious payloads. A successful exploit could allow the attacker to execute arbitrary script code in the context of the affected interface or access sensitive, browser-based information. Cisco has not released software updates that address these vulnerabilities.
There are no workarounds that address these vulnerabilities.
To mitigate these vulnerabilities on Cisco Small Business RV320 and RV325 Routers, disable remote management. To mitigate these vulnerabilities on Cisco Small Business RV016, RV042, RV042G, and RV082 Routers, disable remote management and block access to ports 443 and 60443. The routers will still be accessible through the LAN interface after the mitigation has been implemented.
Disable Remote Management
To disable remote management, do the following:
- Log in to the web-based management interface for the device.
- Choose Firewall > General.
- Uncheck the Remote Management check box.
Block Access to Ports 443 and 60443
First, add a new service to the access rules of the device for port 60443. It is not necessary to create a service for port 443 because that service is predefined in the services list.
- Log in to the web-based management interface for the device.
- Choose Firewall > Access Rules.
- Click Service Management.
- In the Service Name field, enter TCP-60443.
- From the Protocol drop-down list, choose TCP.
- In both of the Port Range fields, enter 60443.
- Click Add to List.
- Click OK.
Next, create access rules to block ports 443 and 60443. To create an access rule to block port 443, do the following:
- Log in to the web-based management interface for the device.
- Choose Firewall > Access Rules.
- Click Add.
- From the Action drop-down list, choose Deny.
- From the Service drop-down list, choose HTTPS (TCP 443-443).
- From the Log drop-down list, choose Log packets match this rule.
- From the Source Interface drop-down list, choose the option that matches the WAN connection on the device.
- From the Source IP drop-down list, choose Any.
- From the Destination IP drop-down list, choose Single.
- In both of the Destination IP fields, enter the WAN IP address.
- Click Save.
To create an access rule to block port 60443, repeat the preceding steps, but for Step 5, choose HTTPS (TCP 60443-60443) from the Service drop-down list.
Note: If a second WAN port is being used, two additional ACL rules need to be set up using the WAN number and IP address for the second WAN port.
While these mitigations have been deployed and were proven successful in a test environment, customers should determine the applicability and effectiveness in their own environment and under their own use conditions. Customers should be aware that any workaround or mitigation that is implemented may negatively impact the functionality or performance of their network based on intrinsic customer deployment scenarios and limitations. Customers should not deploy any workarounds or mitigations before first evaluating the applicability to their own environment and any impact to such environment.