================================================================================ legitbiz[research] // advisory ================================================================================ id: LB-2026-007 // shareaholic target: Shareaholic <= 9.7.13 (WordPress) type: Information Exposure via Loose Comparison (CWE-200, CWE-697) severity: Low (CVSS:3.1 5.3 - AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) channel: Patchstack VDP date: 2026-11-27 status: submitted / coordinated disclosure researcher: legitbiz[research] -------------------------------------------------------------------------------- [01] // summary -------------------------------------------------------------------------------- In Shareaholic <= 9.7.13, unauthenticated debug_info disclosure is possible via a loose type comparison vulnerability in the ajax nopriv handler when the site's verification_key option remains at its unconfigured empty default. -------------------------------------------------------------------------------- [02] // root cause analysis (public.php) -------------------------------------------------------------------------------- In public.php line 632, debug_info() is hooked to wp_ajax_nopriv_shareaholic_debug_info:  $get_verification_key = isset($_GET['verification_key']) ? strtolower($_GET['verification_key']) : null;  if ( ! ( $get_verification_key == ShareaholicUtilities::get_option('verification_key') ) ) {  if ( ! current_user_can('manage_options') ) { exit; }  } Because loose `==` comparison is used, when verification_key is '' (the default prior to account pairing), an omitted parameter (`null == ''` -> true) or empty parameter (`'' == ''` -> true) bypasses the authentication gate. -------------------------------------------------------------------------------- [03] // proof of concept -------------------------------------------------------------------------------- GET /wp-admin/admin-ajax.php?action=shareaholic_debug_info HTTP/1.1 Host: target-site.local The response returns full server debug data, including: - Active plugins list and exact installed versions - Current theme and parent theme details - WordPress, PHP, and web server versions - Internal site API keys and settings configurations -------------------------------------------------------------------------------- [04] // impact assessment -------------------------------------------------------------------------------- * CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (Score: 5.3 Medium/Low) * Unauthenticated information exposure facilitates precise vulnerability  reconnaissance against installed plugins, configuration states, and underlying  server software. -------------------------------------------------------------------------------- [05] // remediation -------------------------------------------------------------------------------- Use strict identity comparison with hash_equals() and require a non-empty key:  $stored_key = ShareaholicUtilities::get_option('verification_key');  if ( empty($stored_key) || !hash_equals((string)$stored_key, (string)$get_verification_key) ) {  if ( ! current_user_can('manage_options') ) { exit; }  } ================================================================================