CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Gogs

CVE-2018-18925
Gogs vulnerability

Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Gogs. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gogs 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.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Gogs products

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