Lucene search
K

Sagemcom F@ST 5280 Privilege Escalation

🗓️ 01 Sep 2020 00:00:00Reported by Ryan DelaneyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 300 Views

Sagemcom F@ST 5280 router privilege escalation via insecure deserialization vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Sagemcom F@ST 5280 Privilege Escalation Vulnerability
1 Sep 202000:00
zdt
Circl
CVE-2020-24034
4 Jul 202214:39
circl
CNVD
Sagemcom F@ST 5280 routers elevation of privilege vulnerability
3 Sep 202000:00
cnvd
CVE
CVE-2020-24034
1 Sep 202017:20
cve
Cvelist
CVE-2020-24034
1 Sep 202017:20
cvelist
EUVD
EUVD-2020-16770
7 Oct 202500:30
euvd
NVD
CVE-2020-24034
1 Sep 202018:15
nvd
Prion
Deserialization of untrusted data
1 Sep 202018:15
prion
RedhatCVE
CVE-2020-24034
9 Jan 202609:49
redhatcve
`<!--  
# Exploit Title: Sagemcom router insecure deserialization > privilege  
escalation  
# Date: 08-31-2020  
# Exploit Author: Ryan Delaney  
# Author Contact: ryan.delaney () owasp org  
# Author LinkedIn: https://www.linkedin.com/in/infosecrd/  
# Vendor Homepage: https://sagemcom.com/en  
# Software Link: N/A (F@ST 5280 firmware not published)  
# Version: F@ST 5280 router, F/W 1.150.61, possibly others  
# Tested on: F@ST 5280 router, F/W 1.150.61  
# CVE: CVE-2020-24034  
  
1. Description  
  
Sagemcom F@ST 5280 routers using firmware version 1.150.61,  
and possibly others, have an insecure deserialization vulnerability  
that allows any authenticated user to perform a privilege escalation  
to any other user. By making a request with valid sess_id, nonce,  
and ha1 values inside of the serialized session cookie, an attacker may  
alter the user value inside of this cookie, and assume the role and  
permissions of the user specified. By assuming the role of the user  
'internal', which is inaccessible to end users by default, the attacker  
gains the permissions of the 'internal' account, which includes the  
ability to flash custom firmware to the router, allowing the attacker  
to achieve a complete compromise.  
  
Note that the 'internal' account is disabled and hidden by default, and the  
primary administrative account ('admin'), lacks the permission to  
flash custom firmware to the device, meaning that an attacker  
exploiting this vulnerability obtains access exceeding that of  
the legitimate, authorized system administrator.  
  
2. Proof of Concept  
  
Log in as a valid user (default is admin:admin). Retrieve the 'session'  
cookie. Simply change the only occurrence of the string "admin" within  
the cookie to "internal", and make a new request with this modified cookie.  
If you decode the cookie, you will note this is the 4th key value pair  
inside of the cookie, where the key is "user", and the value is "admin".  
  
3. Solution  
  
This vulnerability is only exploitable with a valid existing session.  
Changing the administrative password to a strong, non-default value,  
and ensuring that TLS certificate has the correct fingerprint will  
help prevent attackers from obtaining a valid existing session.  
  
-->  
  
  
`

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