Save as PDF Plugin by Pdfcrowd - Insecure deserialization

Summary

NameSave as PDF Plugin by Pdfcrowd trun - Insecure deserialization
Code nameskims-26
ProductSave as PDF Plugin by Pdfcrowd
Affected versionsVersion trun
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

Save as PDF Plugin by Pdfcrowd trun was found to be vulnerable. Unvalidated user input is used directly in an unserialize function in myapp/public/class-save-as-pdf-pdfcrowd- public.php.

Vulnerability

Skims by Fluid Attacks discovered a Insecure deserialization in Save as PDF Plugin by Pdfcrowd trun. The following is the output of the tool:

Skims output

 1556 |
 1557 | if(!empty($_POST['options'])) {
 1558 | $decrypted = $this->decrypt(urldecode($_POST['options']),
 1559 | $options['api_key']);
 1560 | if($decrypted === false) {
 1561 | esc_html_e(
 1562 | 'Configuration error. Refresh page and retry.',
 1563 | $this->plugin_name);
 1564 | wp_die();
 1565 | }
> 1566 | $custom_options = unserialize($decrypted);
 1567 | $options = wp_parse_args($custom_options, $options);
 1568 | }
 1569 |
 1570 | // error_log('decrypted options:');
 1571 | // error_log(print_r($options, true));
 1572 |
 1573 | $default_conv_mode = 'url';
 1574 | if(!isset($options['url'])) {
 1575 | $location = $this->get_location($options);
  1576 |            if($location) {
       ^ Col 1

Our security policy

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

System Information

  • Version: Save as PDF Plugin by Pdfcrowd

trun

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.