ActiveAdmin vulnerable to CSV injection
Published: December 24, 2023
SECURITY IDENTIFIERS
- CVE: CVE-2023-51763 (NVD)
- GHSA: GHSA-xhvv-3jww-c487
GEM
FRAMEWORK
SEVERITY
CVSS v3.x: 9.8 (Critical)
PATCHED VERSIONS
>= 3.2.0
DESCRIPTION
In ActiveAdmin versions prior to 3.2.0, maliciously crafted spreadsheet formulas could be uploaded as part of admin data that, when exported to a CSV file and the imported to a spreadsheet program like libreoffice, could lead to remote code execution and private data exfiltration.
The attacker would need privileges to upload data to the same ActiveAdmin application as the victim, and would need the victim to possibly ignore security warnings from their spreadsheet program.
RELATED
- GHSA-rqxc-9p8h-xqgq
- https://nvd.nist.gov/vuln/detail/CVE-2023-51763
- https://rubygems.org/gems/activeadmin/versions/3.2.0
- https://github.com/activeadmin/activeadmin/blob/master/CHANGELOG.md#320-
- https://github.com/activeadmin/activeadmin/releases/tag/v3.2.0
- https://github.com/activeadmin/activeadmin/pull/8167
- https://github.com/activeadmin/activeadmin/commit/7af735cf657c73734fca1900cd6a5adac4ee706e
- https://github.com/activeadmin/activeadmin/pull/8161
- https://github.com/activeadmin/activeadmin/commit/697be2b183491beadc8f0b7d8b5bfb44f2387909
- https://jzee-rx.medium.com/cve-2023-51763-csv-injection-in-activeadmin-a-security-research-breakdown-d5b0d3663aa4
- https://github.com/activeadmin/activeadmin/security/advisories/GHSA-xhvv-3jww-c487
- https://github.com/advisories/GHSA-xhvv-3jww-c487
