Exponent CMS 2.6.0 patch2 - Insecure file upload (RCE)

9.1

Critical

Discovered by 

Oscar Uribe

Offensive Team, Fluid Attacks

Summary

Full name

Exponent CMS 2.6.0 patch2 - Insecure file upload (RCE)

Code name

State

Public

Release date

Feb 3, 2022

Affected product

Exponent CMS

Affected version(s)

v2.6.0 patch2

Vulnerability name

Insecure file upload (RCE)

Vulnerability type

Remotely exploitable

Yes

CVSS v3.1 vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 base score

9.1

Exploit available

No

Description

Exponent CMS 2.6.0 patch2 allows an authenticated admin user to upload a malicious extension in the format of a zip file with a php file inside it. After upload it, the php file will be placed at themes/simpletheme/{rce}.php from where can be access in order to execute commands.

Proof of Concept

  1. Click on the Exponent logo located on the upper left corner.

  2. Go to 'Super-Admin Tools' > 'Extensions' > 'Install Extension'.

  3. Click on 'Upload Extension'.

  4. Create a malicious PHP file with the following PoC.

    <?php echo system($_GET['cmd']);
  5. Zip the php file.

  6. Upload the zip file.

  7. Click on 'Upload Extension'

  8. Next, click on 'Continue with Installation'.

  9. Go to http://127.0.0.1/exponentcms/themes/simpletheme/{rce}.php in order to execute commands.

System Information:

  • Version: Exponent CMS 2.6.0 patch2.

  • Operating System: Linux.

  • Web Server: Apache

  • PHP Version: 7.4

  • Database and version: Mysql

Exploit

There is no exploit for the vulnerability but can be manually exploited.

Mitigation

By 2022-02-03 there is not a patch resolving the issue.

References

Timeline

Vulnerability discovered

Jan 24, 2022

Vendor contacted

Jan 24, 2022

Public disclosure

Feb 3, 2022

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.