CVE-2023-51763

csv_builder.rb in ActiveAdmin (aka Active Admin) before 3.2.0 allows CSV injection

published December 24, 2023

CVSS
—
EPSS
1%
Percentile
60.7
In the wild
Unconfirmed
What it is

⚠️ CSV injection lurks in ActiveAdmin before version 3.2.0, ready to take advantage of unsuspecting users! Think of CSVs as a restaurant menu — if a customer slips in a note posing as an item, the kitchen could whip up something unexpected. In this case, malicious code could be baked right into a CSV export, creating a recipe for disaster! An attacker could exploit this vulnerability by crafting a malicious CSV file that executes harmful commands when opened by a user, potentially compromising sensitive data or even executing malicious scripts. This could lead to data leaks or unwanted actions on a user’s device, making it crucial to address!

Put simply

Think of CSVs as a restaurant menu — if a customer slips in a note posing as an item, the kitchen could whip up something unexpected. In this case, malicious code could be baked right into a CSV export, creating a recipe for disaster! This vulnerability stems from the way ActiveAdmin handles CSV exports, allowing an attacker to inject formulas or scripts into the CSV files generated by the application, which can be executed by the software that opens those files.

What to do

An attacker could exploit this vulnerability by crafting a malicious CSV file that executes harmful commands when opened by a user, potentially compromising sensitive data or even executing malicious scripts. This could lead to data leaks or unwanted actions on a user’s device, making it crucial to address! Upgrade ActiveAdmin to version 3.2.0 or higher to eliminate this vulnerability. Additionally, review user permissions and consider sanitizing CSV inputs to prevent future injection risks. Regularly audit any third-party libraries used in your application as part of your security routine! You've got this! By taking these steps, you'll ensure your application is secure and your users are safe. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00942 · 60.7th percentile
Published
2023-12-24T00:00Z
EPSS history
Timeline
  • 24 DEC 00:00Z
    csv_builder.rb in ActiveAdmin (aka Active Admin) before 3.2.0 allows CSV injection
    cvelistv5