CVE-2023-26153: geokit-rails - Command Injection
- Cve: CVE-2023-26153
- Name: geokit-rails - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands on the host system, potentially leading to full system compromise.
- Remediation: Update to version 2.5.0 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to send a malicious cookie value
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03847
- Epss percentile: 0.904
- Assignee: [email protected]
- Published at: 2023-10-06T05:15:52Z
- Age in days: 1145
- Modified at: 2026-06-17T05:42:47Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-26153
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d | nvd | 2023-10-06 |
| https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 | nvd | 2023-10-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| 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 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| geokit:geokit-rails | < 2.5.0 | no | nvd | /v1/products/geokit/geokit-rails |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| geokit/geokit-rails | commit, package | yes | /v1/repositories/geokit/geokit-rails |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2023-10-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts