Description
The Iptanus File Upload WordPress plugin before 5.1.7 does not implement proper file handling when the duplicatepolicy setting is configured to "maintain both." Due to a Time-of-Check to Time-of-Use (TOCTOU) race condition between the file existence check and the actual file write operation, an authenticated attacker can overwrite files uploaded by other users.
Problem types
CWE-362 Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization)
Product status
Any version before 5.1.7
Credits
Luca Jungnickel
WPScan
References
wpscan.com/...rability/06e33418-1644-49a1-b012-122046604109/