CVE-2023-26153
Geokit-rails vulnerability
Versions of the package geokit-rails before 2.5.0 are vulnerable to Command Injection due to unsafe deserialisation of YAML within the 'geo_location' cookie. This issue can be exploited remotely via a malicious cookie value. **Note:** An attacker can use this vulnerability to execute commands on the host system.
Affected products
Geokit-rails. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Geokit-rails 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
- github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43 · Patch
- github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f · Patch
- security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 · Exploit
- gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d · Exploit
- github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37
- nvd.nist.gov/vuln/detail/CVE-2023-26153
- cve.org/CVERecord?id=CVE-2023-26153
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.