RCE in Geokit Geokit-Rails
CVE-2023-26153
- CVSS v3
- 8.3 High
- Public exploits
- None known
- EPSS
- 0.038 · 90.4th percentile
- Published
- 2023-10-06
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.038, 90.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Geokit Geokit-Rails
- Geokit-Rails — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 (Exploit, Patch, Third Party Advisory)
- gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d (Exploit, Third Party Advisory)
- github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.r… (Broken Link)
- github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43 (Patch)
- github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f (Patch)