Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Teldat-Router-CVE-2022-POC — POC for CVE-2022-39996 (Reflected XSS) and CVE-2022-39997 (Weak Password) in Teldat RS123/RS123w Router | Kitploit
Tools/GitHubGitHub/uyhacked/teldat-router-cve-2022-poc
Password AttacksVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubuyhacked/teldat-router-cve-2022-poc

Teldat-Router-CVE-2022-POC

POC for CVE-2022-39996 (Reflected XSS) and CVE-2022-39997 (Weak Password) in Teldat RS123/RS123w Router

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
23 months agoNot yet reviewed

Teldat Router CVE-2022-39996 & CVE-2022-39997 POC

Proof of Concept for two vulnerabilities discovered in Teldat RS123 / RS123w routers.

Overview

CVE IDTypeCWECVSSSeverity
CVE-2022-39996Reflected XSSCWE-796.1Medium
CVE-2022-39997Weak PasswordCWE-5219.8Critical

Affected Product: Teldat RS123, RS123w Router


CVE-2022-39997 - Weak Password

Description

Teldat RS123/RS123w routers ship with hardcoded default credentials root:root. Administrators frequently leave these unchanged, allowing unauthenticated attackers to gain full administrative access via Telnet, SSH, HTTP, or other services.

Proof

root@kitploit:~
Account: root
Password: root

Weak Password POC

Usage

root@kitploit:~
pip install requests paramiko

# Basic check (Telnet, SSH, HTTP)
python CVE-2022-39997.py -t 192.168.1.1

# Full check (all services including HTTPS, FTP)
python CVE-2022-39997.py -t 192.168.1.1 --all

# Batch scan
python CVE-2022-39997.py -f targets.txt

CVE-2022-39996 - Reflected XSS

Description

The /upgrade/index.html endpoint reflects the cmd HTTP cookie value in the response without sanitization. An attacker can craft a malicious request containing JavaScript in the cmd cookie. When an authenticated administrator visits the page, the script executes in the browser context of the router's web interface, enabling session hijacking or configuration manipulation.

Proof

  • Crafting XSS payload in the cmd cookie:

XSS POC 1

  • XSS triggered in browser:

XSS POC 2

Usage

root@kitploit:~
pip install requests

# Basic XSS check
python CVE-2022-39996.py -t 192.168.1.1

# With HTTP Basic Auth credentials
python CVE-2022-39996.py -t 192.168.1.1 -u root -p root

# Test multiple XSS payloads for confirmation
python CVE-2022-39996.py -t 192.168.1.1 --multi

# Generate standalone POC HTML page
python CVE-2022-39996.py -t 192.168.1.1 --gen-poc

# Custom XSS payload
python CVE-2022-39996.py -t 192.168.1.1 --payload "<script>alert(document.cookie)</script>"

Files

FileDescription
CVE-2022-39997.pyWeak password detection (Telnet / SSH / HTTP / FTP)
CVE-2022-39996.pyReflected XSS detection via cmd cookie
Teldat's Router Vulnerability.mdFull vulnerability disclosure report

Disclaimer

These POC scripts are for educational and authorized security testing only. Do not use against systems you do not own or have explicit permission to test. The author is not responsible for any misuse or damage.

Download Tool