1 line
3.5 KiB
JSON
1 line
3.5 KiB
JSON
{"schema_version":"1.9.0","id":"GHSA-cxwf-qc32-375f","published":"2024-11-12T19:52:22Z","modified":"2024-11-13T23:33:41.719686Z","aliases":["CVE-2024-43415"],"summary":"Decidim-Awesome has SQL injection in AdminAccountability","details":"## Vulnerability type: \nCWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')\n## Vendor: \nDecidim International Community Environment\n\n### Has vendor confirmed: \nYes\n\n### Attack type:\nRemote\n\n### Impact:\nCode Execution\nEscalation of Privileges\nInformation Disclosure\n\n### Affected component:\nA raw sql-statement that uses an interpolated variable exists in the admin_role_actions method of the\n`papertrail/version-model(app/models/decidim/decidim_awesome/paper_trail_version.rb`).\n\n### Attack vector:\n\nAn attacker with admin permissions could manipulate database queries in order to read out the database,\nread files from the filesystem, write files from the filesystem. In the worst case, this could lead to remote code\nexecution on the server.\nDescription of the vulnerability for use in the CVE [ℹ] (https://cveproject.github.io/docs/content/key-details-\nphrasing.pdf) : An improper neutralization of special elements used in an SQL command in the `papertrail/version-\nmodel` of the decidim_awesome-module <= v0.11.1 (> 0.9.0) allows an authenticated admin user to manipulate sql queries\nto disclose information, read and write files or execute commands.\n\n### Discoverer Credits:\nWolfgang Hotwagner\n\n### References:\nhttps://pentest.ait.ac.at/security-advisory/decidim-awesome-sql-injection-in-adminaccountability/\nhttps://portswigger.net/web-security/sql-injection","affected":[{"package":{"name":"decidim-decidim_awesome","ecosystem":"RubyGems","purl":"pkg:gem/decidim-decidim_awesome"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.1"},{"fixed":"0.10.3"}]}],"versions":["0.10.0","0.10.1","0.10.2","0.9.1","0.9.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-cxwf-qc32-375f/GHSA-cxwf-qc32-375f.json"}},{"package":{"name":"decidim-decidim_awesome","ecosystem":"RubyGems","purl":"pkg:gem/decidim-decidim_awesome"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.11.0"},{"fixed":"0.11.2"}]}],"versions":["0.11.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-cxwf-qc32-375f/GHSA-cxwf-qc32-375f.json"}}],"references":[{"type":"WEB","url":"https://github.com/decidim-ice/decidim-module-decidim_awesome/security/advisories/GHSA-cxwf-qc32-375f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43415"},{"type":"WEB","url":"https://github.com/decidim-ice/decidim-module-decidim_awesome/commit/84374037d34a3ac80dc18406834169c65869f11b"},{"type":"PACKAGE","url":"https://github.com/decidim-ice/decidim-module-decidim_awesome"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-decidim_awesome/CVE-2024-43415.yml"},{"type":"WEB","url":"https://pentest.ait.ac.at/security-advisory/decidim-awesome-sql-injection-in-adminaccountability"}],"database_specific":{"cwe_ids":["CWE-89"],"github_reviewed":true,"github_reviewed_at":"2024-11-12T19:52:22Z","nvd_published_at":"2024-11-12T16:15:21Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L"},{"type":"CVSS_V4","score":"CVSS: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"}]} |