Skip to content
Info disclosure Disclosed report Beginner CVE-2021-38314

CVE-2021-38314 @ https://www.mtn.co.rw

A WordPress site ran a vulnerable version of the Gutenberg Template Library & Redux Framework plugin that exposed AJAX actions to unauthenticated users. Because the action names were derived from predictable hashes of the site URL, an attacker could call them to retrieve the list of active plugins and their versions, the PHP version, and a hash of the site's authentication keys.

aliyugombe Follow

Originally disclosed on HackerOne

  • Triaged in 60 days
  • Fixed in 10 months
  • Disclosed after 11 months

Summary:

Hello. I your domain https://www.mtn.co.rw was vulnerable to CVE-2021-38314

##Description: The Gutenberg Template Library & Redux Framework plugin <= 4.2.11 for WordPress registered several AJAX actions available to unauthenticated users in the includes function in redux-core/class-redux-core.php that were unique to a given site but deterministic and predictable given that they were based on an md5 hash of the site URL with a known salt value of '-redux' and an md5 hash of the previous hash with a known salt value of '-support'. These AJAX actions could be used to retrieve a list of active plugins and their versions, the site's PHP version, and an unsalted md5 hash of site’s AUTH_KEY concatenated with the SECURE_AUTH_KEY.

##Referrence: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-38314 https://www.wordfence.com/blog/2021/09/over-1-million-sites-affected-by-redux-framework-vulnerabilities/

Steps To Reproduce:

Visit https://www.mtn.co.rw/wp-admin/admin-ajax.php?action=136454233f7f7b567bf1310154c66f11 you will see 893c4010bb377e5d41600958db3f8e17

Supporting Material/References:

Screenshot_at_2021-09-26_10-13-56.png
Screenshot_at_2021-09-26_10-13-56.png From the original on HackerOne

Impact

CVE-2021-38314

Thank you @aliyugombe

The original report as published on HackerOne, by aliyugombe. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The plugin generated AJAX action names from an md5 hash of the site URL with a fixed, publicly known salt, making them predictable to anyone.

Impact

An unauthenticated attacker could learn the site's active plugins and versions, its PHP version, and a hash derived from its authentication keys, which could aid further attacks.

What the attacker needed

No login required; target runs the vulnerable plugin version

The fix

The plugin is vulnerable up to version 4.2.11; the text does not describe a fix.

How it was found

  1. Visit the site's admin-ajax endpoint with the predictable action name in the query string.
  2. Observe the returned value in the response.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

WordPress plugins sometimes add small endpoints that any visitor can call without logging in. This plugin built the names of those endpoints from the site's address in a way anyone could guess, so a stranger could ask the site which plugins and versions it runs. That kind of information helps an attacker pick a known bug to exploit next.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by aliyugombe

View all

13 more disclosed reports, best first.

More from MTN Group

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.