Jetpack VaultPress - Insecure deserialization

Summary

NameJetpack VaultPress 3.0. - Insecure deserialization
Code nameskims-27
ProductJetpack VaultPress
Affected versionsVersion 3.0.
StatePrivate
Release date2025-01-03

Vulnerability

KindInsecure deserialization
RuleInsecure deserialization
RemoteNo
CVSSv4 VectorCVSS: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 availableNo
CVE ID(s)cve-2020-2020

Description

Jetpack VaultPress 3.0. was found to be vulnerable. Unvalidated user input is used directly in an unserialize function in myapp/vaultpress.php.

Vulnerability

Skims by Fluid Attacks discovered a Insecure deserialization in Jetpack VaultPress 3.0.. The following is the output of the tool:

Skims output

 1814 | if ( !$syntax_check )
 1815 | $this->response( ""Code Failed Syntax Check"" );
 1816 | $this->response( eval( $code . ';' ) );
 1817 | die();
 1818 | break;
 1819 | case 'catchup:get':
 1820 | $this->response( $this->ai_ping_get( (int)$_POST['num'], (string)$_POST['order'] ) );
 1821 | break;
 1822 | case 'catchup:delete':
 1823 | if ( isset( $_POST['pings'] ) ) {
> 1824 |      foreach( unserialize( $_POST['pings'] ) as $ping ) {
  1825 |       if ( 0 === strpos( $ping, '_vp_ai_ping_' ) )
  1826 |        delete_option( $ping );
  1827 |      }
  1828 |     }
  1829 |     break;
  1830 |    case 'general:ping':
  1831 |     global $wp_version, $wp_db_version, $manifest_version;
  1832 |     @error_reporting(0);
  1833 |     $http_modules = array();
  1834 |     $httpd = null;
       ^ Col 0

Our security policy

We have reserved the ID cve-2020-2020 to refer to this issue from now on.

System Information

  • Version: Jetpack VaultPress

3.0.

Mitigation

There is currently no patch available for this vulnerability.

Credits

The vulnerability was discovered by Andres Roldan from Fluid Attacks' Offensive Team using Skims

Timeline

Time-lapse-logo

2025-01-03

Vulnerability discovered.

Time-lapse-logo

2025-01-03

Vendor contacted.

Fluid Logo Footer

Hacking software for over 20 years

Fluid Attacks tests applications and other systems, covering all software development stages. Our team assists clients in quickly identifying and managing vulnerabilities to reduce the risk of incidents and deploy secure technology.

Copyright © 0 Fluid Attacks. We hack your software. All rights reserved.