This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.
Impact is limited: modifying data, crashing the system or making it unavailable.
Weakness type: Path traversal.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
The Photo Reviews for WooCommerce plugin for WordPress is vulnerable to unauthorized Media Library File Deletion in all versions up to, and including, 1.2.31. This is due to the `delete_reviews_image()` function's `delete_comment` hook trusting attachment IDs supplied via the `wcpr_image_upload_id` POST parameter that were stored in comment meta without any ownership or capability check — `viwcpr_filter_review_image_ids()` verifies only that each submitted ID refers to an attachment post type, not that the submitter uploaded or owns it. This makes it possible for unauthenticated attackers to permanently delete any WordPress media library attachment — including its files on disk as recorded by `wp_delete_attachment()` — by embedding attacker-chosen attachment IDs into a review comment, then waiting for a moderator to remove the review or for WordPress core's `wp_scheduled_delete` cron to purge it after `EMPTY_TRASH_DAYS`. The nonce required to submit the parameter (`wcpr_image_upload`) is a shared public value printed on every product page for guest commenters and does not function as an authentication barrier, making this trivially exploitable without any account.
A flaw was found in openpgp-cert-d. When reading a certificate, the component opens and reads the certificate file without verifying whether it is a symbolic link. In an environment where a certificate directory is…
A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is…
A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments…
A flaw was found in sequoia-net. When inserting a certificate into a Web Key Directory (WKD) or creating a policy file, the application opens and writes to destination files without checking for symbolic links. In…
A flaw has been found in PerfreeBlog up to 4.0.11. This affects an unknown part of the file CodegenController.java of the component Codegen Module. This manipulation causes missing authorization. The attack may be…