Loading...
Skip to main content

CVE-2024-37906 — Admidio has Blind SQL Injection in...

CRITICAL

Admidio has Blind SQL Injection in ecard_send.php

Published July 29, 2024Updated September 10, 2026Source: osv

Summary

### Description: An SQL Injection has been identified in the `/adm_program/modules/ecards/ecard_send.php` source file of the Admidio Application. The SQL Injection results in a compromise of the application's database. The value of `ecard_recipients `POST parameter is being directly concatenated with the SQL query in the source code causing the SQL Injection. The SQL Injection can be exploited by a member user, using blind condition-based, time-based, and Out of band interaction SQL Injection payloads. I successfully exploited SQL Injections by causing Time Delays. Advancing the payload, I was able to exfiltrate data from the database based on trial and error conditions and step-wise enumerating the characters of the database name. This was done as a POC of SQL Injection. An attacker could simply drop the database by providing a single payload, steal data, and potentially update the database according to their will. ### Impact: SQL injection (SQLi) vulnerabilities can have serious consequences for the security of a web application and its underlying database. Attackers can use SQLi to access sensitive data, and modify, delete, or add data to the database. SQLi can also be potentially used to perform RCE. ### Remediation: Use parameterized queries or prepared statements instead of concatenating user input directly into SQL queries. Parameterized queries ensure that user input is treated as data and not executable queries. OR Sanitize the input before including it in the SQL Query. ### Steps to Reproduce: - Intercept the POST request to `/adm_program/modules/ecards/ecard_send.php`, which is used to send photo as greeting card. - Change the value of `ecard_recipients%5B%5D` POST parameter to `2%2bsleep(10)`. - Sending the request will cause a time delay. ### Proof Of Concept: ![image](https://github.com/Admidio/admidio/assets/59286712/8ea87f4f-dad0-4df1-999d-212b07e02527) Figure 1: Code Vulnerable to SQL Injection ![image](https://github.com/Admidio/admidio/assets/59286712/d803a92c-3469-45aa-a844-e8aa311b55f4) Figure 2: Code Vulnerable to SQL Injection ![image](https://github.com/Admidio/admidio/assets/59286712/2ccdf865-2867-4dc8-abe1-f25b5e906db3) Figure 3: SQLi to trigger time delay ![image](https://github.com/Admidio/admidio/assets/59286712/eed06ce6-6591-427f-b98e-5314233b5996) Figure 4: Data Exfiltration via Condition-based Time Delays

Advisory Timeline

  • First published July 29, 2024 (805 days ago).
  • Last revised September 10, 2026 — 772 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update admidio/admidio to 4.3.9 or later
composer require "admidio/admidio:^4.3.9"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
admidio/admidio
packagist
4.1.0, 4.1.3, v4.2-Beta.1, v4.2-Beta.2 (+29 more)4.3.9

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-37906?
Admidio has Blind SQL Injection in ecard_send.php This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2024-37906?
CVE-2024-37906 affects admidio/admidio. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-37906 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-69wx-xc6j-28v3

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies