VDB
Sign up
LOW3.5

GHSA-7c4c-749j-pfp2

Admidio Vulnerable to HTML Injection In The Messages Section

Quick fix

GHSA-7c4c-749j-pfp2 — admidio/admidio: upgrade to the fixed version with the command below.

composer require admidio/admidio:^4.3.12

Details

### Summary An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the server.

### PoC 1. Go to https://www.admidio.org/demo_en/adm_program/modules/messages/messages.php 2. Click on Send Private Message 3. In the `Message` field, enter the following payload `Testing<br><h1>HTML</h1><br><h2>Injection</h2>`

> ![image](https://github.com/user-attachments/assets/0e5d9e4e-69c5-4908-9ab9-0c45c2548ff8)

4. Send the message 5. Open the message again

> ![image](https://github.com/user-attachments/assets/d36f1b64-7d96-486d-ab65-cce2b7d21428)

### Impact 1. Data Theft: Stealing sensitive information like cookies, session tokens, and user credentials. 2. Session Hijacking: Gaining unauthorized access to user accounts. 3. Phishing: Tricking users into revealing sensitive information. 4. Website Defacement: Altering the appearance or content of the website. 5. Malware Distribution: Spreading malware to users' devices. 6. Denial of Service (DoS): Overloading the server with malicious requests.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/admidio/admidio
Introduced in: 0Fixed in: 4.3.12
Fixcomposer require admidio/admidio:^4.3.12

References