RubySec

Providing security resources for the Ruby community

CVE-2023-51763 (activeadmin): ActiveAdmin vulnerable to CSV injection

ActiveAdmin vulnerable to CSV injection

Published: December 24, 2023

SECURITY IDENTIFIERS

GEM

activeadmin

FRAMEWORK

Ruby on Rails

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