rtMedia for WordPress, BuddyPress and bbPress - XML injection (XXE)

Summary

NamertMedia for WordPress, BuddyPress and bbPress 4.6.2 - XML injection (XXE)
Code nameskims-45
ProductrtMedia for WordPress, BuddyPress and bbPress
Affected versionsVersion 4.6.2
StatePrivate
Release date2024-12-06

Vulnerability

KindXML injection (XXE)
RuleXML injection (XXE)
RemoteNo
CVSSv4 VectorCVSS:4.0/AV:N/AT:N/AC:L/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U
Exploit availableNo
CVE ID(s)cve-2020-2020

Description

rtMedia for WordPress, BuddyPress and bbPress 4.6.2 was found to be vulnerable. Access to external entities in XML parsing is enabled in myapp/lib/getid3/getid3.lib.php.

Vulnerability

Skims by Fluid Attacks discovered a XML injection (XXE) in rtMedia for WordPress, BuddyPress and bbPress 4.6.2. The following is the output of the tool:

Skims output

 716 | /** 717 | * @param string $XMLstring 718 | * 719 | * @return array|false 720 | */ 721 | public static function XML2array($XMLstring) { 722 | if (function_exists('simplexml_load_string') && function_exists('libxml_disable_entity_loader')) { 723 | // http://websec.io/2012/08/27/Preventing-XEE-in-PHP.html 724 | // https://core.trac.wordpress.org/changeset/29378 725 | $loader = libxml_disable_entity_loader(true); >  726 |    $XMLobject = simplexml_load_string($XMLstring, 'SimpleXMLElement', LIBXML_NOENT);
   727 |    $return = self::SimpleXMLelement2array($XMLobject);
   728 |    libxml_disable_entity_loader($loader);
   729 |    return $return;
   730 |   }
   731 |   return false;
   732 |  }
   733 |
   734 |  /**
   735 |  * @param SimpleXMLElement|array|mixed $XMLobject
   736 |  *
       ^ Col 0

Our security policy

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

System Information

  • Version: rtMedia for WordPress, BuddyPress and

bbPress 4.6.2

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

2024-12-06

Vulnerability discovered.

Time-lapse-logo

2024-12-06

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.