WP Popular Posts <= 7.4.2 - Unauthenticated Information Disclosure in 'post_type' and 'context' Parameters
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 5.3epss 0.3%
probabilidade de exploração
0.3%top 77% das CVEs
exploração observada
nãonenhuma fonte reporta
The WP Popular Posts plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 7.4.2 via the 'context' parameter. This makes it possible for unauthenticated attackers to extract sensitive edit-context fields — including raw title, raw content body, password, meta, status, and guid — from non-public post objects such as wp_block synced patterns that WordPress core itself refuses to expose to unauthenticated callers. This is possible because the plugin's REST route is registered with a permission_callback of __return_true and passes the caller-supplied context parameter (e.g., context=edit) directly to WP_REST_Posts_Controller::prepare_item_for_response() without invoking get_item_permissions_check() or check_read_permission(), while the underlying query accepts an arbitrary post_type value without enforcing public or show_in_rest visibility flags.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Produtos afetados
hcabrera · WP Popular PostsReferências
https://plugins.trac.wordpress.org/browser/wordpress-popular-posts/tags/7.4.2/src/Query.php#L421https://plugins.trac.wordpress.org/browser/wordpress-popular-posts/tags/7.4.2/src/Rest/PostsEndpoint.php#L38https://plugins.trac.wordpress.org/browser/wordpress-popular-posts/tags/7.4.2/src/Rest/PostsEndpoint.php#L51https://plugins.trac.wordpress.org/browser/wordpress-popular-posts/tags/7.4.2/src/Rest/PostsEndpoint.php#L96https://plugins.trac.wordpress.org/changeset/3715724/wordpress-popular-posts/trunkhttps://plugins.trac.wordpress.org/changeset/3715724/wordpress-popular-posts/trunk/src/Rest/PostsEndpoint.phphttps://www.wordfence.com/threat-intel/vulnerabilities/id/09c63c2f-d2d3-4c39-8329-0e0e5b62db98?source=cve