Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-6648-6g96-mg35

Опубликовано: 05 фев. 2024
Источник: github
Github: Прошло ревью
CVSS3: 5.7

Описание

phpMyFAQ User Removal Page Allows Spoofing Of User Details

Summary

phpMyFAQ's user removal page allows an attacker to spoof another user's detail, and in turn make a compelling phishing case for removing another user's account.

Details

phpMyFAQ's user removal page allows an attacker to spoof another user's detail, and in turn make a compelling phishing case for removing another user's account. Whilst the front-end of this page doesn't allow changing the form details, an attacker can utilize a proxy to intercept this request and submit other data. Upon submitting this form, an email is sent to the administrator informing them that this user wants to delete their account. An administrator has no way of telling the difference between the actual user wishing to delete their account or the attacker issuing this for an account they do not control.

PoC

We are logged in as hacker and visit /user/request-removal. This brings us to the following page. We are not able to change the username, Your name and Your email address fields on this page. image

However, we intercept this request using a proxy tool such as BurpSuite. image

We can now edit the request before sending it. We change the fields mentioned above to the details of another user, and send the request. image

This results in the following email being sent to the administrator. For them, it looks like the victim wants to delete their account. image

Impact

The impact of this vulnerability is that administrators cannot trust the emails sent by the platform. An attacker can easily make a compelling case to perform phishing and get victim accounts deleted.

Пакеты

Наименование

phpmyfaq/phpmyfaq

composer
Затронутые версииВерсия исправления

< 3.2.5

3.2.5

EPSS

Процентиль: 44%
0.00218
Низкий

5.7 Medium

CVSS3

Дефекты

CWE-284

Связанные уязвимости

CVSS3: 5.7
nvd
около 2 лет назад

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. phpMyFAQ's user removal page allows an attacker to spoof another user's detail, and in turn make a compelling phishing case for removing another user's account. The front-end of this page doesn't allow changing the form details, an attacker can utilize a proxy to intercept this request and submit other data. Upon submitting this form, an email is sent to the administrator informing them that this user wants to delete their account. An administrator has no way of telling the difference between the actual user wishing to delete their account or the attacker issuing this for an account they do not control. This issue has been patched in version 3.2.5.

EPSS

Процентиль: 44%
0.00218
Низкий

5.7 Medium

CVSS3

Дефекты

CWE-284