Different Menu in Different Pages - Insecure deserialization

Severity pending

Detected by

Fluid Attacks SAST Scanner

Disclosed by

Andres Roldan

Offensive Team, Fluid Attacks

Summary

Full name

Different Menu in Different Pages - Control Menu Visibility (All in One) trun - Insecure deserialization

Code name

State

Private

Release date

Dec 6, 2024

Affected product

Different Menu in Different Pages - Control Menu Visibility (All in One)

Affected version(s)

Version trun

Vulnerability name

Insecure deserialization

Remotely exploitable

No

CVSS v4.0 vector string

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U

Exploit available

No

Description

Different Menu in Different Pages - Control Menu Visibility (All in One) trun was found to be vulnerable. Unvalidated user input is used directly in an unserialize function in myapp/admin/includes/AjaxRequests/save-d ifferent-menu-conditions.php.

Vulnerability

Skims by Fluid Attacks discovered a Insecure deserialization in Different Menu in Different Pages - Control Menu Visibility (All in One) trun. The following is the output of the tool:

Skims output

 27 | if (!current_user_can('administrator')) {
 28 | echo wp_json_encode(array('success' => false, 'status' => 'not_administrator', 'response' => ''));
 29 |
 30 | die();
 31 | }
 32 |
 33 | $theme_location = sanitize_key($_POST['theme_location']);
 34 | $assigned_menu = (int) sanitize_key($_POST['assigned_menu']);
 35 | $name = sanitize_text_field(serialize($_POST['name'] ));
 36 |
>  37 |         $name = unserialize($name);
   38 |
   39 |         if(is_array($name)){
   40 |
   41 |
   42 |             //if menu has changed
   43 |             $changed    = sanitize_key($_POST['changed']);
   44 |             $changed_menu   = (int) sanitize_key($_POST['changed_menu']);
   45 |             $changed_theme_location = sanitize_key($_POST['changed_theme_location']);
   46 |
   47 |
      ^ Col 0

Our security policy

We have reserved the ID CVE-2025-22627 to refer to this issue from now on.

Disclosure policy

System Information

  • Version: Different Menu in Different Pages - Control Menu Visibility (All in One) trun

Mitigation

There is currently no patch available for this vulnerability.

Timeline

Vulnerability discovered

Dec 6, 2024

Vendor contacted

Jan 7, 2025

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.