NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · RubyGems

CVE-2024-43415: Decidim-Awesome has SQL injection in AdminAccountability

highCVSS 4.0 8.5 · 3.1 9.0GHSA-cxwf-qc32-375f

Vulnerability type: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Vendor: Decidim International Community Environment Has vendor confirmed: Yes Attack type: Remote Impact: Code Execution Escalation of Privileges Information Disclosure Affected component: A raw sql-statement that uses an interpolated variable exists in the adminroleactions method of the…

Published Nov 12, 2024 · Updated Nov 13, 2024

Affected packages

decidim-decidim_awesome

Ecosystem
RubyGems
Affected
>= 0.9.1, < 0.10.3
Fixed in
0.10.3
Check
bundle info decidim-decidim_awesome

decidim-decidim_awesome

Ecosystem
RubyGems
Affected
>= 0.11.0, < 0.11.2
Fixed in
0.11.2
Check
bundle info decidim-decidim_awesome

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Vulnerability type:

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Vendor:

Decidim International Community Environment

Has vendor confirmed:

Yes

Attack type:

Remote

Impact:

Code Execution Escalation of Privileges Information Disclosure

Affected component:

A raw sql-statement that uses an interpolated variable exists in the admin_role_actions method of the papertrail/version-model(app/models/decidim/decidim_awesome/paper_trail_version.rb).

Attack vector:

An attacker with admin permissions could manipulate database queries in order to read out the database, read files from the filesystem, write files from the filesystem. In the worst case, this could lead to remote code execution on the server. Description of the vulnerability for use in the CVE [ℹ] (https://cveproject.github.io/docs/content/key-details- phrasing.pdf) : An improper neutralization of special elements used in an SQL command in the papertrail/version- model of the decidim_awesome-module <= v0.11.1 (> 0.9.0) allows an authenticated admin user to manipulate sql queries to disclose information, read and write files or execute commands.

Discoverer Credits:

Wolfgang Hotwagner

References:

https://pentest.ait.ac.at/security-advisory/decidim-awesome-sql-injection-in-adminaccountability/ https://portswigger.net/web-security/sql-injection

Credited to whotwagner.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology