CVE-2024-43415
JSON

9.0critical

Decidim-Awesome: SQL injection in AdminAccountability

Severity
9.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cxwf-qc32-375f

Description

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.

Affected

Product or packageVersionsReported by
decidim-ice decidim-module-decidim_awesome>= 0.9.1, < 0.10.3, >= 0.11.0, < 0.11.2CVE List
decidim_international_community_environment decidim-module-decidim_awesomeup to 0.9.1, before 0.10.3, up to 0.11.0, before 0.11.2CVE List
decidim-decidim_awesome (RubyGems)from 0.9.1 before 0.10.3, from 0.11.0 before 0.11.2GitHub Advisory Database

All scores

GitHub_M9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
GitHub9.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:P

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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

NVD (es)

Una neutralización incorrecta de elementos especiales utilizados en un comando SQL en el modelo papertrail/version del módulo decidim_awesome &lt;= v0.11.1 (&gt; 0.9.0) permite que un usuario administrador autenticado manipule consultas SQL para revelar información, leer y escribir archivos o ejecutar comandos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-43415 changed 2024-11-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-cxwf-qc32-375f changed 2024-11-13CC-BY-4.0
NVDCVE-2024-43415 changed 2026-06-17Public domain