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

Unauthenticated Sensitive Information Disclosure on █████████ CVE-2021-38314

The Gutenberg Template Library & Redux Framework plugin registered AJAX actions reachable without authentication, using endpoint names derived from predictable md5 hashes of the site URL with known salts. An attacker could therefore retrieve sensitive system information without logging in.

kuriyama Follow

Originally disclosed on HackerOne

Medium 4.6 View original
  • Triaged in under an hour
  • Fixed in 41 days
  • Disclosed after 3.6 years

Summary by the program

Report #1452774 was a validated security vulnerability that affected ██████████. The researcher identified an unauthenticated sensitive information disclosure issue (CVE-2021-38314) in the Gutenberg Template Library & Redux Framework plugin version 4.2.11 and below. Vulnerability Details: The plugin registered several AJAX actions that were accessible to unauthenticated users. These actions used predictable endpoints based on md5 hashes of the site URL with known salt values ('-redux' and '-support'). This allowed attackers to retrieve sensitive system information without authentication.

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

The affected component was the Gutenberg Template Library & Redux Framework plugin, version 4.2.11 and below. and the affected component was the Gutenberg Template Library & Redux Framework plugin, version 4.2.11 and below. The researcher found an unauthenticated sensitive information disclosure, tracked as CVE-2021-38314, and the program validated it as a medium severity issue with a CVSS score of 4.6. The report was disclosed on 2 September 2025. No bounty amount is recorded.

The mechanism, as the program summarises it, is short and specific:

  1. The plugin registered several AJAX actions that were reachable by unauthenticated users.
  2. Those actions were addressed through predictable endpoints derived from an md5 hash of the site URL combined with known salt values, -redux and -support.
  3. Because the endpoint names could be computed from public information (the site URL) and fixed strings, an attacker could call the actions directly and retrieve sensitive system information without any authentication.

The report does not include the individual action names, the exact request format, or a sample response, so the write-up stops at the level of the program's summary. What it does establish is the whole chain: public input (the site URL) plus a constant salt produces the identifier that guards the endpoint, and nothing else stands between an anonymous visitor and the data.

Root cause

The plugin used a value derived from public data as the identifier for its AJAX actions. An md5 hash of the site URL with a fixed suffix is not a secret: the URL is visible to anyone who loads the site, and the salt strings are constants that ship inside the plugin code, which is downloadable by anyone. Once both inputs are known, the endpoint name is computable offline, so the check that was meant to restrict access provides no access control at all.

WordPress AJAX handlers are exposed through admin-ajax.php to logged-out visitors unless the handler itself verifies a capability or nonce, so registering the action without such a check leaves it open by default.

Impact

The report describes the outcome as disclosure of sensitive system information, reachable without authentication. It does not enumerate which fields were exposed, so the precise sensitivity of the leaked data is not stated. The program accepted that this constituted a medium severity information disclosure.

How this kind of bug works

WordPress plugins commonly expose functionality through AJAX actions registered with wp_ajax_ (for logged-in users) and wp_ajax_nopriv_ (for logged-out users) hooks. The nopriv variant is the interesting one for an unauthenticated tester: it deliberately makes the handler callable by anyone who can reach admin-ajax.php and supply the right action parameter.

Developers sometimes try to make such endpoints hard to guess rather than properly authorised, for example by hashing the site URL, a plugin name, or a version string into the action name. This is security through obscurity. The inputs are public, the algorithm is in the plugin source, and the resulting string is stable across requests, so it can be recomputed at will. The correct control is a capability check (current_user_can) or a nonce tied to an authenticated session, not a name that is hard to guess.

How to test for it

  1. Enumerate the plugins and versions in use. Readme files, asset paths, generator meta tags and public vulnerability databases all help here; a plugin with a known CVE of this class is worth checking directly.
  2. Download the plugin source for the matching version and search for wp_ajax_nopriv_ registrations. Note the action names and, in the handler, whether there is any capability or nonce check before data is returned.
  3. Where the action name is computed rather than literal, reproduce the computation from the source: identify the inputs (site URL, constants, salts) and derive the string yourself.
  4. Send a request to admin-ajax.php with the derived action value and no cookies, and inspect the response. A positive result is a structured response containing configuration, user, path or environment data that a logged-out visitor should never see.
  5. Confirm the finding is not a generic public endpoint by checking whether the same data is available through normal, documented site behaviour.

Common false positives: an endpoint that returns only static or already-public values; a handler that checks a nonce which happens to be printed on a public page (still a bug, but a different one); and cached or generic error responses that look like data but carry nothing sensitive. Always show the actual leaked fields in the report.

How it is fixed

The standard fix is to add a proper authorisation check to every AJAX handler: verify a nonce with check_ajax_referer and confirm the caller has the required capability with current_user_can before returning any data. Handlers that only serve logged-out users should be registered without nopriv where possible, and any endpoint that must remain public should return the minimum data needed.

Hunting notes

This class of bug hides in plugins that expose diagnostics, system status, update checks or support functionality, because those features often need to run before a user logs in. Recon signals worth watching: a plugin version that matches a published advisory, JavaScript on public pages that references admin-ajax.php with computed action names, and source code containing md5 over the site URL or other public strings.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

A security researcher looked at a site running the Gutenberg Template Library & Redux Framework plugin, version 4.2.11 and below. WordPress is a popular system for building websites; it is extended by add-ons called plugins, which add features such as contact forms, image galleries or support tools. The plugin in question here is the Gutenberg Template Library & Redux Framework, version 4.2.11 and below.

That plugin had a flaw, tracked as CVE-2021-38314. A CVE is a public catalogue number given to a known security bug so people can look it up. The flaw let anyone on the internet pull sensitive information about the system out of the site without logging in. The program that ran the bug bounty (a scheme where companies pay researchers for finding bugs) accepted the finding as a medium severity issue with a CVSS score of 4.6. CVSS is a standard 0 to 10 scale for how serious a bug is. The report was disclosed on 2 September 2025, and no bounty amount is recorded.

The mechanism, step by step

The program's summary describes the chain in three steps:

  1. The plugin registered several AJAX actions that were reachable by unauthenticated users.
  2. Those actions were addressed through predictable endpoints derived from an md5 hash of the site URL combined with known salt values, -redux and -support.
  3. Because the endpoint names could be computed from public information (the site URL) and fixed strings, an attacker could call the actions directly and retrieve sensitive system information without any authentication.

Some of those words need unpacking. AJAX is a technique where a web page quietly asks the server for data in the background, without reloading the page. An action is simply a named task the server offers to run when asked. An endpoint is the address you send that request to. Unauthenticated means the request carries no login: no username, no password, no session cookie. A cookie is a small piece of data your browser stores for a site, and a session cookie is what proves you are logged in; without one, the server treats you as a stranger.

An md5 hash is a mathematical fingerprint: you feed text in, and you get a fixed-length string of characters out. The same input always gives the same output, and the output does not look like the input. A salt, in this context, is a fixed piece of text glued onto the input before hashing, here the strings -redux and -support.

Why the endpoint names were not a secret

The plugin built its action names from a hash of the site URL and fixed salts. The problem is that both ingredients were public. The site URL is visible to anyone who loads the page, and the salt strings are constants that ship inside the plugin code, which anyone can download. So anyone can do the same sum at home and arrive at the same endpoint name. A useful comparison: hiding your house key under the doormat only works if nobody knows to look under the doormat. Here the doormat is advertised and the key is a standard shape.

The report does not include the individual action names, the exact request format, or a sample response, so the detail stops at the level of the program's summary. What it does establish is the whole chain: public input plus a constant salt produces the identifier that guards the endpoint, and nothing else stands between an anonymous visitor and the data.

What was exposed, and how bad it was

The report describes the outcome as disclosure of sensitive system information, reachable without authentication. It does not enumerate which fields were exposed, so the precise sensitivity of the leaked data is not stated. The program accepted that this constituted a medium severity information disclosure.

In general, how this kind of bug works

WordPress plugins commonly expose functionality through AJAX actions registered with wp_ajax_ (for logged-in users) and wp_ajax_nopriv_ (for logged-out users) hooks. A hook is a point where WordPress lets plugin code attach itself. The nopriv variant is the interesting one for an unauthenticated tester: it deliberately makes the handler callable by anyone who can reach admin-ajax.php and supply the right action parameter. admin-ajax.php is a single file in WordPress that acts as a switchboard for these background requests.

Developers sometimes try to make such endpoints hard to guess rather than properly authorised, for example by hashing the site URL, a plugin name, or a version string into the action name. This is security through obscurity. The inputs are public, the algorithm is in the plugin source, and the resulting string is stable across requests, so it can be recomputed at will. The correct control is a capability check (current_user_can) or a nonce tied to an authenticated session, not a name that is hard to guess. A nonce is a one-time code the server issues and later verifies, so a request cannot be replayed or forged without it.

How to test for it

  1. Enumerate the plugins and versions in use. Readme files, asset paths, generator meta tags and public vulnerability databases all help here; a plugin with a known CVE of this class is worth checking directly.
  2. Download the plugin source for the matching version and search for wp_ajax_nopriv_ registrations. Note the action names and, in the handler, whether there is any capability or nonce check before data is returned.
  3. Where the action name is computed rather than literal, reproduce the computation from the source: identify the inputs (site URL, constants, salts) and derive the string yourself.
  4. Send a request to admin-ajax.php with the derived action value and no cookies, and inspect the response. A positive result is a structured response containing configuration, user, path or environment data that a logged-out visitor should never see.
  5. Confirm the finding is not a generic public endpoint by checking whether the same data is available through normal, documented site behaviour.

Common false positives: an endpoint that returns only static or already-public values; a handler that checks a nonce which happens to be printed on a public page (still a bug, but a different one); and cached or generic error responses that look like data but carry nothing sensitive. Always show the actual leaked fields in the report.

How it is fixed

The standard fix is to add a proper authorisation check to every AJAX handler: verify a nonce with check_ajax_referer and confirm the caller has the required capability with current_user_can before returning any data. Handlers that only serve logged-out users should be registered without nopriv where possible, and any endpoint that must remain public should return the minimum data needed.

Hunting notes

This class of bug hides in plugins that expose diagnostics, system status, update checks or support functionality, because those features often need to run before a user logs in. Recon signals worth watching: a plugin version that matches a published advisory, JavaScript on public pages that references admin-ajax.php with computed action names, and source code containing md5 over the site URL or other public strings.

Glossary

  • WordPress: a widely used system for building and running websites.
  • Plugin: an add-on that adds features to a WordPress site.
  • CVE: a public catalogue number for a known security vulnerability.
  • CVSS: a standard 0 to 10 scale for rating the severity of a vulnerability.
  • Bug bounty: a scheme where organisations pay researchers for reporting security bugs.
  • AJAX: a technique where a web page requests data from the server in the background without reloading.
  • Action: a named task a server offers to run when asked.
  • Endpoint: the address a request is sent to.
  • Unauthenticated: without any login or proof of identity.
  • Cookie: a small piece of data a browser stores for a site.
  • Session cookie: a cookie that proves you are logged in.
  • md5 hash: a mathematical fingerprint that turns text into a fixed-length string, always the same for the same input.
  • Salt: a fixed piece of text added to input before hashing.
  • Hook: a point in WordPress where plugin code can attach itself.
  • admin-ajax.php: the WordPress file that handles background AJAX requests.
  • wp_ajax_nopriv_: the WordPress hook that registers an AJAX action for logged-out visitors.
  • Security through obscurity: relying on something being hard to guess instead of properly protected.
  • Capability check: verifying that the caller has the right permission before acting.
  • Nonce: a one-time code the server issues and verifies to prevent forged or replayed requests.
  • Information disclosure: a bug where data that should be private is exposed.
  • False positive: a finding that looks like a bug but is not one.

More by kuriyama

View all

3 more disclosed reports, best first.

More from Mars

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.