SecurityContext

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

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command
CWE-502Deserialization of Untrusted Data

Public exploits

UrlSourceAdded date
https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901dnvd2023-10-06
https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323nvd2023-10-06

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43Patch
https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482fPatch
https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323Exploit, Patch, Third Party Advisory
https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901dExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
geokit:geokit-rails< 2.5.0nonvd/v1/products/geokit/geokit-rails

Projects

RepositoryLink kindsIndexedUrl
geokit/geokit-railscommit, packageyes/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