CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Gl-inet

CVE-2023-31473
Gl-inet Gl-s20 Firmware vulnerability

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.

Affected products

Gl-s20 Firmware, Gl-x3000 Firmware, Gl-mt3000 Firmware, Gl-mt2500 Firmware, Gl-mt2500a Firmware, Gl-axt1800 Firmware, Gl-a1300 Firmware, Gl-ax1800 Firmware, Gl-sft1200 Firmware, Gl-mt1300 Firmware and more. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gl-inet Gl-s20 Firmware runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Gl-inet products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.