Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-29450: 2.4.5 Release · oliverschloebe/admin-management-xtended@f94732d

Multiple Cross-Site Request Forgery (CSRF) vulnerabilities in Admin Management Xtended plugin <= 2.4.4 at WordPress.

CVE
#csrf#vulnerability#redis#js#wordpress#php#auth

Expand Up @@ -8,7 +8,7 @@ */
/* * Copyright 2008-2020 Oliver Schlöbe (email : [email protected]) * Copyright 2008-2022 Oliver Schlöbe (email : [email protected]) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by Expand Down Expand Up @@ -71,6 +71,8 @@ function return_function($output) { */ function ame_ajax_save_mediadesc() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘postid’] ); $new_mediadesc = $_POST[‘new_mediadesc’];
Expand All @@ -96,6 +98,8 @@ function ame_ajax_save_mediadesc() { */ function ame_ajax_set_commentstatus() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘postid’] ); $q_status = intval( $_POST[‘comment_status’] );
Expand Down Expand Up @@ -127,6 +131,7 @@ function ame_ajax_set_commentstatus() { */ function ame_get_pageorder() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
if( !current_user_can( ‘edit_pages’ ) ) { die(); Expand Down Expand Up @@ -155,6 +160,8 @@ function ame_get_pageorder() { */ function ame_ajax_save_tags() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘postid’] ); $ame_tags = $_POST[‘new_tags’];
Expand Down Expand Up @@ -200,6 +207,8 @@ function ame_ajax_save_tags() { */ function ame_ajax_get_categories() { global $wpdb, $post; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$ame_id = intval( $_POST[‘postid’] );
if( !current_user_can( 'edit_post’, $ame_id ) ) { Expand Down Expand Up @@ -232,6 +241,8 @@ function ame_ajax_get_categories() { */ function ame_ajax_save_categories() { global $wpdb, $post; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘postid’] ); $ame_cats = $_POST[‘ame_cats’];
Expand Down Expand Up @@ -272,6 +283,8 @@ function ame_ajax_save_categories() { */ function ame_toggle_showinvisposts() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$status = intval( $_POST[‘status’] );
update_option( "ame_toggle_showinvisposts", $status ); Expand Down Expand Up @@ -300,6 +313,8 @@ function ame_ajax_toggle_imageset() { */ function ame_toggle_orderoptions() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$status = intval( $_POST[‘status’] );
update_option( "ame_show_orderoptions", $status ); Expand All @@ -314,6 +329,8 @@ function ame_toggle_orderoptions() { */ function ame_slug_edit() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘category_id’] ); if( is_string( $_POST[‘posttype’] ) ) $posttype = $_POST[‘posttype’];
Expand Down Expand Up @@ -342,6 +359,8 @@ function ame_slug_edit() { */ function ame_author_edit() { global $wpdb, $current_user; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘post_id’] );
if( !current_user_can( 'edit_post’, $postid ) ) { Expand Down Expand Up @@ -396,6 +415,8 @@ function ame_author_edit() { */ function ame_save_order() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘category_id’] ); $neworderid = intval( $_POST[‘new_orderid’] );
Expand All @@ -416,6 +437,8 @@ function ame_save_order() { */ function ame_save_slug() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘category_id’] );
if( !current_user_can( 'edit_post’, $postid ) ) { Expand Down Expand Up @@ -451,6 +474,8 @@ function ame_save_slug() { */ function ame_save_author() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘category_id’] );
if( !current_user_can( 'edit_post’, $postid ) ) { Expand Down Expand Up @@ -480,6 +505,8 @@ function ame_save_author() { */ function ame_save_title() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘category_id’] ); $new_title = $_POST[‘new_title’]; $new_title = apply_filters( 'the_title’, $new_title ); Expand All @@ -504,6 +531,8 @@ function ame_save_title() { */ function ame_set_date() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( substr( $_POST[‘category_id’], 10, 5 ) );
if( !current_user_can( 'edit_post’, $postid ) ) { Expand Down Expand Up @@ -542,6 +571,8 @@ function ame_set_date() { */ function ame_toggle_visibility() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘category_id’] );
if( !current_user_can( 'edit_post’, $postid ) ) { Expand Down Expand Up @@ -584,6 +615,8 @@ function ame_toggle_visibility() { */ function ame_toggle_sticky() { global $wpdb; check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
$postid = intval( $_POST[‘post_id’] );
if( !current_user_can( 'edit_post’, $postid ) ) { Expand Down Expand Up @@ -612,6 +645,8 @@ function ame_toggle_sticky() { * @link http://plugins.trac.wordpress.org/browser/exclude-pages/trunk/exclude_pages.php#L162 */ function ame_toggle_excludestatus() { check_ajax_referer( 'ame_ajax_validation’, ‘security’ );
if( !current_user_can( ‘edit_pages’ ) ) { die(); return; Expand Down Expand Up @@ -955,9 +990,20 @@ function ame_enqueue_stuff_edit() { wp_enqueue_script( 'ame_gui-modificators’, AME_PLUGINFULLURL . "js/gui-modificators.js", array( ‘sack’ ), AME_VERSION ); wp_enqueue_script( 'ame_miscscripts’, AME_PLUGINFULLURL . "js/functions.js", array( ‘sack’ ), AME_VERSION ); wp_register_script( 'ame_miscscripts’, AME_PLUGINFULLURL . "js/functions.js", array( 'jquery’, ‘sack’ ), AME_VERSION ); wp_enqueue_script( ‘ame_miscscripts’ ); wp_localize_script( 'ame_miscscripts’, 'ameAjaxSec’, array( ‘ajaxnonce’ => wp_create_nonce( ‘ame_ajax_validation’ ) ) ); }
add_action( 'admin_head’, ‘ame_css_admin_header’ ); Expand Down Expand Up @@ -1000,9 +1046,20 @@ function ame_enqueue_stuff_linkmanager() { wp_enqueue_script( 'ame_gui-modificators’, AME_PLUGINFULLURL . "js/gui-modificators.js", array( ‘sack’ ), AME_VERSION ); wp_enqueue_script( 'ame_miscscripts’, AME_PLUGINFULLURL . "js/functions.js", array( ‘sack’ ), AME_VERSION ); wp_register_script( 'ame_miscscripts’, AME_PLUGINFULLURL . "js/functions.js", array( 'jquery’, ‘sack’ ), AME_VERSION ); wp_enqueue_script( ‘ame_miscscripts’ ); wp_localize_script( 'ame_miscscripts’, 'ameAjaxSec’, array( ‘ajaxnonce’ => wp_create_nonce( ‘ame_ajax_validation’ ) ) ); }
add_action( 'admin_print_scripts’, ‘ame_js_admin_header’ ); Expand All @@ -1015,9 +1072,20 @@ function ame_enqueue_stuff_upload() { wp_enqueue_script( 'ame_gui-modificators’, AME_PLUGINFULLURL . "js/gui-modificators.js", array( ‘sack’ ), AME_VERSION ); wp_enqueue_script( 'ame_miscscripts’, AME_PLUGINFULLURL . "js/functions.js", array( ‘sack’ ), AME_VERSION ); wp_register_script( 'ame_miscscripts’, AME_PLUGINFULLURL . "js/functions.js", array( 'jquery’, ‘sack’ ), AME_VERSION ); wp_enqueue_script( ‘ame_miscscripts’ ); wp_localize_script( 'ame_miscscripts’, 'ameAjaxSec’, array( ‘ajaxnonce’ => wp_create_nonce( ‘ame_ajax_validation’ ) ) ); }
add_action( 'admin_print_scripts’, ‘ame_js_admin_header’ ); Expand Down

Related news

CVE-2022-29450: WordPress Admin Management Xtended plugin <= 2.4.4 - Multiple Cross-Site Request Forgery (CSRF) vulnerabilities - Patchstack

Multiple Cross-Site Request Forgery (CSRF) vulnerabilities in Admin Management Xtended plugin <= 2.4.4 at WordPress.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907