Arbitrary file read via Samba share symlinks
Published Mar 17, 2025 · Updated Mar 21, 2025
Path traversal in GL.iNet Beryl AX GL-MT3000 4.7.0 allows attackers to read arbitrary device files through an enabled Samba share. The router follows symbolic links placed in a shared directory on an ext4 USB drive, and the mobile application downloads each link target without confining resolution to the shared directory. Exploitation requires a prepared ext4 drive connected to the router, an enabled Samba share for its directory, and access through the mobile application; exposed files are readable but not modified.
Summary
What happened
Path traversal in GL.iNet Beryl AX GL-MT3000 4.7.0 allows attackers to read arbitrary device files through an enabled Samba share. The router follows symbolic links placed in a shared directory on an ext4 USB drive, and the mobile application downloads each link target without confining resolution to the shared directory. Exploitation requires a prepared ext4 drive connected to the router, an enabled Samba share for its directory, and access through the mobile application; exposed files are readable but not modified.
The record
- CVE
- CVE-2025-25685
- Published
- Mar 17, 2025
- Updated
- Mar 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-22, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 17, 2025CVE publishedPublication date reported by the CVE source.
- Mar 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Beryl AX Samba-share symlink file-read procedureproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo