CVEvulnerability
CVE-2023-26153
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2023-10-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502, CWE-78
Description
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 configurations
• geokit geokit-rails (< 2.5.0)
Related
References
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d Exploit, Third Party Advisory
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37 Broken Link
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43 Patch
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f Patch
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 Exploit, Patch, Third Party Advisory
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d Exploit, Third Party Advisory
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37 Broken Link
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43 Patch
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f Patch
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 Exploit, Patch, Third Party Advisory