Skip to content
Access control Write-up Intermediate

My Autonomous Hunt Harness Found an Origin-Hostname Bypass That Exposed a Non-Public WordPress Site

redhunter01 Follow

Published on medium.com

Bug Bounty

redhunter01, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 8 min read.

Context

During an autonomous web-security hunting workflow, I found an access-control issue affecting a WordPress property that was intentionally not publicly accessible. The public hostname, hotel-deals.marriott.com, was protected by an edge redirect that sent every request away from the WordPress application. At first glance the site appeared properly walled off.

The hunt harness then discovered another hostname pointing directly to the underlying WP Engine infrastructure. That origin hostname did not enforce the same access-control policy. The result was a simple asymmetry:

Public hostname → forced redirect

but:

Origin hostname → raw WordPress application

From the origin, an unauthenticated visitor could reach the WordPress site, its REST API, the CMS user directory and the administrator login page. The interesting part was not finding a WordPress REST API. It was recognising that the security control existed at the edge but was not enforced at the origin.

Setup

The intended architecture appeared to be roughly this:

Text
Internet                       │                       ▼             hotel-deals.marriott.com                       │                       ▼                Edge / CDN layer                       │                 301 Redirect                       │                       ▼              www.marriott.com

The production hostname did not expose the WordPress application directly. Requests such as:

Text
/wp-json/wp/v2/users

were redirected away from the application, which creates the appearance that the underlying CMS is not publicly reachable. The actual infrastructure looked more like:

Text
Internet   │   ├── hotel-deals.marriott.com   │          │   │          ▼   │      Edge control   │          │   │       301 redirect   │   └── americasprod.wpenginepowered.com              │              ▼        WordPress origin              │              ├── REST API              ├── /wp-login.php              └── CMS user data

The second path was the problem. The finding was made from outside, unauthenticated, by comparing two hostnames that served the same application.

Finding it

The discovery process started with external asset and infrastructure mapping. The autonomous workflow does not only crawl the primary hostname. It also tries to understand:

  • DNS relationships
  • historical hostnames
  • origin infrastructure
  • CDN behaviour
  • alternate service names
  • passive DNS relationships
  • differences between public and infrastructure hosts

During that process, historical passive DNS information exposed a WP Engine hostname associated with the property. The important clue was the installation name:

Text
americasprod

The hostname:

Text
americasprod.wpenginepowered.com

also returned a WordPress application whose title was:

Text
Americas Promotions - Marriott Promotional Pages

That correlation was enough to make the hostname a strong origin candidate. The next step was to compare the public hostname against the suspected origin.

Exploitation

Step 1: Confirm the public hostname redirects

The public hostname behaved as expected. A request to the WordPress REST API resulted in a redirect:

HTTP
HTTP/1.1 301 Moved PermanentlyLocation: https://www.marriott.com/default.mi

The 301 and the Location header send the client to the Marriott homepage rather than to the WordPress application, so the CMS path is never served through this hostname.

Step 2: Send the same request to the origin

The same type of request was then sent to the origin hostname. The result was completely different:

HTTP
HTTP/1.1 200 OKContent-Type: application/json

Instead of redirecting, the origin returned the actual WordPress API response. This was the key observation: the edge security policy was hostname-dependent. It protected:

Text
hotel-deals.marriott.com

but did not protect:

Text
americasprod.wpenginepowered.com

Step 3: Enumerate users through the REST API

The next question was what the exposed WordPress application actually reveals. The WordPress REST API was reachable without authentication. The following endpoint returned user objects:

Text
/wp-json/wp/v2/users?per_page=100

The response returned:

Text
HTTP 200

with approximately:

Text
14,888 bytes22 user objects

No authentication was required. This turned the origin-hostname bypass into an actual information-disclosure issue rather than merely an infrastructure observation.

Step 4: Extract identities from the user objects

The returned WordPress user objects contained more information than expected for an unauthenticated endpoint. I was able to recover:

  • 22 CMS accounts
  • 13 corporate email identities
  • 9 additional CMS login usernames

Several email addresses were directly present in user fields. Others could be derived from author slugs that encoded the email identity. The exposed corporate identities included addresses corresponding to Marriott employees. The security issue is not that WordPress has users. It is that an intentionally non-public property exposed its internal CMS user directory to unauthenticated internet users through an origin that bypassed the public hostname's access-control policy.

Step 5: Reach the administrator login

The origin was not limited to the REST API. The WordPress administrator login page was directly reachable:

Text
/wp-login.php

The response returned:

Text
HTTP 200

and the WordPress login form. The homepage itself also loaded successfully from the origin and identified the underlying application as:

Text
Americas Promotions - Marriott Promotional Pages

So the origin provided a functioning WordPress application rather than a dead or unrelated host.

Step 6: Test whether the exposure escalates

Once the origin was confirmed, I deliberately tested whether the exposure could be escalated further. The objective was to determine whether the unauthenticated access represented:

Text
Information disclosure

or something more serious such as:

Text
Unauthenticated CMS modification

Several potentially dangerous endpoints were tested. The important result was that multiple escalation paths were properly protected. The following tests did not provide unauthenticated write or administrative access:

  • REST API writes: unauthenticated requests to create posts returned 401 Unauthorized. Comments were also protected.
  • WordPress settings: access to /wp-json/wp/v2/settings required authentication.
  • Private content: draft/private content did not become publicly readable through the tested endpoints.
  • XML-RPC: xmlrpc.php returned 403.
  • WP Engine authentication routes: the tested WP Engine sign-on routes did not provide an administrative authentication bypass.
  • Self-registration: self-registration was disabled.

These negative results were important to document because they prevented the report from overstating the impact.

Root cause

The mistake is architectural: the access-control decision lived only at the edge and was keyed on the hostname. The edge layer redirected requests for hotel-deals.marriott.com to www.marriott.com, but the WP Engine origin behind it, americasprod.wpenginepowered.com, accepted requests addressed to it directly and served the raw WordPress application. The origin did not independently enforce the redirect, so the security model depended entirely on traffic arriving through the intended hostname and edge rule.

The origin was reachable from arbitrary internet clients, and the WordPress installation exposed the users REST endpoint and /wp-login.php without additional network or authentication controls. The edge redirect looked like an access-control mechanism, but a CDN rule is not sufficient protection if an attacker can communicate directly with the backend.

Impact

The proven issue was unauthorised enumeration and exposure of the origin application. An unauthenticated attacker who knows or discovers the origin hostname can:

  • reach the WordPress site, its REST API and the administrator login page;
  • enumerate 22 CMS accounts, 13 corporate email identities and 9 additional CMS login usernames;
  • use the exposed usernames and corporate identities to make targeted social-engineering or credential-attack attempts more convincing.

I did not claim that the exposed accounts were compromised. I did not claim WordPress administrator takeover, unauthenticated post creation, unauthenticated content modification, XML-RPC exploitation, authentication bypass, credential compromise or access to private WordPress drafts. Those escalation paths were tested and found to be protected. The vulnerability was the origin-level access-control bypass combined with unauthenticated exposure of internal CMS identities and the raw WordPress application.

Fix

The strongest remediation is to make the origin inaccessible to arbitrary internet clients. Possible approaches include:

  1. Restrict the origin to the CDN. Use an origin access-control mechanism such as IP allowlisting, authenticated origin pulls, mTLS or provider-supported origin authentication. The exact mechanism depends on the infrastructure.
  2. Enforce the redirect at the origin. The origin should independently enforce the intended behaviour. The security model should not depend exclusively on the Host: hotel-deals.marriott.com header being routed through a specific edge rule.
  3. Disable unauthenticated WordPress user enumeration. Restrict /wp-json/wp/v2/users for unauthenticated clients where the endpoint is not required publicly.
  4. Remove unnecessary identity information. Corporate email addresses and internal CMS usernames should not be exposed through public author metadata if they are not required by the application.
  5. Protect administrative endpoints. Where appropriate, restrict /wp-login.php and /wp-admin through additional network or authentication controls.

The report does not state which of these were applied.

Variants to test

When a site appears protected by Cloudflare, Akamai, Fastly, AWS CloudFront, reverse proxies, WAFs or CDN redirects, do not assume the backend is protected. Ask what happens if you reach the origin without going through the intended hostname. The methodology is:

Text
Primary hostname      ↓Understand expected behavior      ↓Identify infrastructure      ↓Find possible origin      ↓Compare responses      ↓Test access-control parity

Concrete things to try on other targets:

  1. Passive DNS and historical hostnames. Look for cloud hostnames and origin naming patterns (DNS records, historical DNS, certificate transparency, passive DNS, CDN headers). A positive result is a hostname that serves the same application as the public one, confirmed by matching page titles, HTML structure, application headers, assets, cookies and API responses.
  2. Public-versus-origin differential. Send the same sensitive request to both hostnames. A positive result is the public host returning 301, 403, 401 or a challenge while the origin returns 200 with the application content.
  3. WordPress user enumeration on the origin. Request /wp-json/wp/v2/users?per_page=100 unauthenticated. A positive result is HTTP 200 with user objects containing names, slugs and email fields where present.
  4. Administrative surface discovery. Request /wp-login.php on the origin. A positive result is HTTP 200 with the login form rather than a redirect or block.
  5. Safe escalation checks. Test write operations, /wp-json/wp/v2/settings, draft/private content, xmlrpc.php and self-registration. A positive result is any unauthenticated write or administrative access; in this case all of these were protected, which is exactly the kind of negative result worth recording. Stop at a read-only proof and do not unnecessarily modify production data.

The critical comparison is:

Text
PUBLIC HOST301 → redirect
Text
ORIGIN HOST200 → WordPress

That difference immediately reveals the security boundary failure. The lesson is to find the boundary, find another path around it, compare the security controls, prove what actually becomes accessible, and stop before unnecessary impact.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 21 min read.

What happened, in plain words

A security researcher was running an automated tool that looks for weaknesses in websites. The tool found something interesting: a WordPress website that was supposed to be hidden from the public could actually be reached by anyone, without logging in, by using a different web address than the one the company expected people to use.

WordPress is a very popular program for building and running websites. Many companies use it for blogs, news pages and promotional sites. It comes with a built-in way for other programs to talk to it, called the REST API, and with a login page for administrators.

The company had set up a public web address, hotel-deals.marriott.com, and put a guard in front of it. That guard was a redirect: whenever anyone asked for a page on that address, the guard answered "not here, go to www.marriott.com instead". So from the outside, the WordPress site looked sealed off.

But the WordPress site itself was still running on a server somewhere behind that guard. That server had its own web address, americasprod.wpenginepowered.com, which pointed straight at the WordPress program and skipped the guard entirely. Anyone who knew that second address could talk to the WordPress site directly.

Once the researcher reached the site that way, they could see the list of WordPress user accounts, including company email addresses and login names, and the administrator login page. They could not log in, change anything or read private drafts: those parts were still protected. But the exposure of staff identities and the login page was real, and it happened because the guard existed in only one place.

The rest of this article walks through how that was found, what was tested, and what it means, in the same order as the technical write-up, explaining each idea from scratch.

The setup: two doors to the same room

Imagine a building with a front door that has a security guard. The guard checks everyone who comes in and sends them to a different building. That is what the company intended: the public web address hotel-deals.marriott.com should never serve the WordPress site itself.

The intended design looked roughly like this:

Text
Internet                       │                       ▼             hotel-deals.marriott.com                       │                       ▼                Edge / CDN layer                       │                 301 Redirect                       │                       ▼              www.marriott.com

Line by line:

  • Internet is the whole public network, meaning anyone with a browser anywhere.
  • The arrow down to hotel-deals.marriott.com means a visitor types that address or clicks a link to it.
  • The next arrow leads to an Edge / CDN layer. A CDN, or content delivery network, is a network of servers placed between visitors and the real website. It can speed up a site by caching pages, and it can also apply rules, such as blocking or redirecting requests. "Edge" means the outer boundary of the company's systems, the part closest to the public.
  • 301 Redirect is a standard web answer meaning "this page has moved permanently, go to this other address instead". A browser that receives a 301 automatically follows it.
  • The final arrow leads to www.marriott.com, the company's main public site.

So the intended path never reaches WordPress at all. The production hostname, meaning the address the company advertises, did not expose the WordPress application directly. Requests such as:

Text
/wp-json/wp/v2/users

were redirected away from the application. That path is the part of a web address after the domain name. /wp-json/wp/v2/users is a WordPress API address that, when it works, returns the list of user accounts. Because the redirect happened first, a visitor asking for that list through the public address never got it. That creates the appearance that the underlying CMS is not publicly reachable.

CMS stands for content management system: the program that stores and organises a website's pages, posts and user accounts. WordPress is one example.

But the real infrastructure, meaning the actual servers and how they are connected, looked more like this:

Text
Internet   │   ├── hotel-deals.marriott.com   │          │   │          ▼   │      Edge control   │          │   │       301 redirect   │   └── americasprod.wpenginepowered.com              │              ▼        WordPress origin              │              ├── REST API              ├── /wp-login.php              └── CMS user data

Line by line:

  • Internet is again the public network.
  • It splits into two branches. The first branch is the public address hotel-deals.marriott.com, which goes through Edge control and gets a 301 redirect. That is the guarded front door.
  • The second branch is americasprod.wpenginepowered.com, a different address that leads straight down to the WordPress origin.
  • "Origin" here means the actual server that runs the website, as opposed to the edge layer in front of it. WP Engine is a company that hosts WordPress sites, and wpenginepowered.com is a domain it uses for customer installations.
  • Under the origin, three things are listed: the REST API, the file /wp-login.php, and CMS user data. The REST API is the machine-readable interface of WordPress, a way for programs to ask the site questions and get structured answers. /wp-login.php is the standard WordPress login page. CMS user data means the stored information about user accounts.

The second path was the problem. The finding was made from outside, unauthenticated, by comparing two hostnames that served the same application. "Unauthenticated" simply means not logged in, the same state as any first-time visitor to a website.

Finding it: how the automated tool got there

The discovery process started with external asset and infrastructure mapping. "Asset mapping" means making a list of everything a company owns that is reachable from the internet: domain names, servers, subdomains and so on. The automated workflow does not only crawl the primary hostname, meaning it does not only visit the main advertised address and follow its links. It also tries to understand:

  • DNS relationships. DNS, the domain name system, is the internet's address book: it translates names like example.com into the numeric addresses of servers. "Relationships" means which names point to which servers, and which names belong to the same organisation.
  • Historical hostnames. Names that used to exist or used to point somewhere, even if the company no longer advertises them.
  • Origin infrastructure. The servers that actually run the applications, behind any front layer.
  • CDN behaviour. How the front layer responds, and whether it always sits between the visitor and the server.
  • Alternate service names. Other names for the same service, which are easy to forget and easy to leave unprotected.
  • Passive DNS relationships. Passive DNS is a way of recording DNS answers that have been seen in the wild over time, without actively querying anything. It is like a public log of "this name pointed to that server at some point".
  • Differences between public and infrastructure hosts. Whether the advertised address and the underlying server behave the same way.

During that process, historical passive DNS information exposed a WP Engine hostname associated with the property. The important clue was the installation name:

Text
americasprod

That is a single word, the name of the WP Engine installation. It matters because it is recognisable: "americas" and "prod" suggest a production system for the Americas region. A random string would tell the researcher nothing; a meaningful name is a hint that this is not some unrelated customer's site.

The hostname:

Text
americasprod.wpenginepowered.com

also returned a WordPress application whose title was:

Text
Americas Promotions - Marriott Promotional Pages

A page title is the text shown in the browser tab and used as the heading of the page. Seeing a title that clearly belongs to the same company, and describes promotional pages, was strong evidence that this hostname was the same site as the hidden one. That correlation was enough to make the hostname a strong origin candidate, meaning a likely direct address for the real server. The next step was to compare the public hostname against the suspected origin.

Exploitation: proving it step by step

Step 1: Confirm the public hostname redirects

The public hostname behaved as expected. A request to the WordPress REST API resulted in a redirect:

HTTP
HTTP/1.1 301 Moved PermanentlyLocation: https://www.marriott.com/default.mi

Line by line:

  • HTTP/1.1 is the version of the protocol used for web requests and responses. HTTP is the language a browser and a server speak to each other.
  • 301 Moved Permanently is the status code, a three-digit number that summarises the answer. 301 means the requested page has moved for good, and the client should go to a new address.
  • Location: https://www.marriott.com/default.mi is a header, meaning an extra piece of information attached to the response. This particular header tells the browser where to go instead.

The 301 and the Location header send the client to the Marriott homepage rather than to the WordPress application, so the CMS path is never served through this hostname. This step was taken first to record the normal, expected behaviour, so that any difference later would be meaningful.

Step 2: Send the same request to the origin

The same type of request was then sent to the origin hostname. The result was completely different:

HTTP
HTTP/1.1 200 OKContent-Type: application/json

Line by line:

  • HTTP/1.1 is again the protocol version.
  • 200 OK is the status code for success: the server is answering with the content that was asked for, not a redirect and not an error.
  • Content-Type: application/json is a header saying what kind of data is in the response. JSON is a simple text format for structured data, made of names and values in curly braces and square brackets. It is the usual format for API answers, because programs can read it easily.

Instead of redirecting, the origin returned the actual WordPress API response. This was the key observation: the edge security policy was hostname-dependent. It protected:

Text
hotel-deals.marriott.com

but did not protect:

Text
americasprod.wpenginepowered.com

In other words, the guard was checking which name you used to arrive, not whether you were allowed to reach the server at all. This step was taken to test the hypothesis from the previous section: if the two names lead to the same application, do they apply the same rules?

Step 3: Enumerate users through the REST API

The next question was what the exposed WordPress application actually reveals. The WordPress REST API was reachable without authentication. The following endpoint returned user objects:

Text
/wp-json/wp/v2/users?per_page=100

Line by line:

  • /wp-json/ is the base path of the WordPress REST API. Any request starting with it is asking WordPress for data rather than for a normal web page.
  • wp/v2/ identifies the version of the API being used.
  • users is the resource being requested: the list of user accounts.
  • ?per_page=100 is a query parameter, meaning an instruction added after a question mark. It asks the server to return up to 100 items per page of results, instead of the default, which is usually smaller.

The response returned:

Text
HTTP 200

with approximately:

Text
14,888 bytes22 user objects

Line by line:

  • HTTP 200 means success: the request was answered normally.
  • 14,888 bytes is the size of the answer, roughly fourteen and a half thousand characters of data.
  • 22 user objects means the answer contained 22 separate records, each describing one user account. An object here is one structured record in the JSON data.

No authentication was required. This turned the origin-hostname bypass into an actual information-disclosure issue rather than merely an infrastructure observation. "Information disclosure" is the security term for a system revealing data to someone who should not have it. This step was taken because a working API is only interesting if it gives out something worth having; the researcher asked what the exposed application actually shows.

Step 4: Extract identities from the user objects

The returned WordPress user objects contained more information than expected for an unauthenticated endpoint. I was able to recover:

  • 22 CMS accounts
  • 13 corporate email identities
  • 9 additional CMS login usernames

Several email addresses were directly present in user fields. Others could be derived from author slugs that encoded the email identity. A slug is the short, URL-friendly version of a name, for example a lowercase name with hyphens instead of spaces. If a slug is built from part of an email address, the email can often be guessed from it. The exposed corporate identities included addresses corresponding to Marriott employees.

The security issue is not that WordPress has users. It is that an intentionally non-public property exposed its internal CMS user directory to unauthenticated internet users through an origin that bypassed the public hostname's access-control policy. "Access control" means the rules that decide who may see or do what. This step was taken to measure the real impact: not just "an API answered", but "here is exactly what kind of data came out".

Step 5: Reach the administrator login

The origin was not limited to the REST API. The WordPress administrator login page was directly reachable:

Text
/wp-login.php

Line by line:

  • /wp-login.php is the standard file name of the WordPress login page. The .php ending shows it is a script written in the PHP programming language, which WordPress is built with.

The response returned:

Text
HTTP 200

and the WordPress login form. The homepage itself also loaded successfully from the origin and identified the underlying application as:

Text
Americas Promotions - Marriott Promotional Pages

So the origin provided a functioning WordPress application rather than a dead or unrelated host. This step was taken to confirm that the exposure was not limited to one API address: the whole application, including its front door for staff, was live on the origin.

Step 6: Test whether the exposure escalates

Once the origin was confirmed, I deliberately tested whether the exposure could be escalated further. "Escalation" means turning a small problem into a bigger one, for example going from reading data to changing it. The objective was to determine whether the unauthenticated access represented:

Text
Information disclosure

or something more serious such as:

Text
Unauthenticated CMS modification

That second phrase means changing the website's content without logging in, which would be far more serious than reading a user list.

Several potentially dangerous endpoints were tested. An endpoint is one specific address of an API or application that performs one specific job. The important result was that multiple escalation paths were properly protected. The following tests did not provide unauthenticated write or administrative access:

  • REST API writes: unauthenticated requests to create posts returned 401 Unauthorized. Comments were also protected. A 401 status code means "you are not authenticated", in other words the server does not know who you are and refuses.
  • WordPress settings: access to /wp-json/wp/v2/settings required authentication. That address is the API endpoint for the site's configuration settings.
  • Private content: draft/private content did not become publicly readable through the tested endpoints. A draft is a page or post that has not been published yet.
  • XML-RPC: xmlrpc.php returned 403. XML-RPC is an older WordPress interface that lets other programs perform actions on the site. A 403 status code means "forbidden": the server understood the request and refuses to allow it.
  • WP Engine authentication routes: the tested WP Engine sign-on routes did not provide an administrative authentication bypass. A bypass here would mean getting in without valid credentials.
  • Self-registration: self-registration was disabled. That means visitors cannot create their own accounts on the site.

These negative results were important to document because they prevented the report from overstating the impact. A negative result is a test that found nothing wrong, and recording it honestly is part of good security work: it shows exactly where the problem stops.

Root cause: why it happened

The mistake is architectural: the access-control decision lived only at the edge and was keyed on the hostname. "Keyed on the hostname" means the rule looked at which name was used in the request and applied its decision based on that alone. The edge layer redirected requests for hotel-deals.marriott.com to www.marriott.com, but the WP Engine origin behind it, americasprod.wpenginepowered.com, accepted requests addressed to it directly and served the raw WordPress application. The origin did not independently enforce the redirect, so the security model depended entirely on traffic arriving through the intended hostname and edge rule.

The origin was reachable from arbitrary internet clients, and the WordPress installation exposed the users REST endpoint and /wp-login.php without additional network or authentication controls. "Default" matters here: WordPress ships with these features switched on, so a site that does not deliberately turn them off will have them.

The edge redirect looked like an access-control mechanism, but a CDN rule is not sufficient protection if an attacker can communicate directly with the backend. A useful comparison is a shop with a locked front door and an unlocked back door onto the same street: the lock is real, but it only protects one entrance.

Impact: what an attacker could actually do

The proven issue was unauthorised enumeration and exposure of the origin application. "Enumeration" means listing items one by one, here the user accounts. An unauthenticated attacker who knows or discovers the origin hostname can:

  • reach the WordPress site, its REST API and the administrator login page;
  • enumerate 22 CMS accounts, 13 corporate email identities and 9 additional CMS login usernames;
  • use the exposed usernames and corporate identities to make targeted social-engineering or credential-attack attempts more convincing.

Social engineering means tricking people into doing something, for example sending an email that looks genuine because it uses a real colleague's name and address. A credential attack means trying to guess or reuse passwords. Knowing real names, real email addresses and real login names makes both much easier to make believable.

I did not claim that the exposed accounts were compromised. I did not claim WordPress administrator takeover, unauthenticated post creation, unauthenticated content modification, XML-RPC exploitation, authentication bypass, credential compromise or access to private WordPress drafts. Those escalation paths were tested and found to be protected. The vulnerability was the origin-level access-control bypass combined with unauthenticated exposure of internal CMS identities and the raw WordPress application.

Fix: how to close it

The strongest remediation is to make the origin inaccessible to arbitrary internet clients. Remediation means the fix. Possible approaches include:

  1. Restrict the origin to the CDN. Use an origin access-control mechanism such as IP allowlisting, authenticated origin pulls, mTLS or provider-supported origin authentication. The exact mechanism depends on the infrastructure. IP allowlisting means only certain numeric internet addresses may connect. Authenticated origin pulls and mTLS are ways of making the origin check that the caller really is the CDN, using shared secrets or certificates. A certificate is a digital document that proves an identity.
  2. Enforce the redirect at the origin. The origin should independently enforce the intended behaviour. The security model should not depend exclusively on the Host: hotel-deals.marriott.com header being routed through a specific edge rule. The Host header is the part of a web request that carries the name the visitor typed. If the origin checks it itself, the rule holds no matter how the request arrived.
  3. Disable unauthenticated WordPress user enumeration. Restrict /wp-json/wp/v2/users for unauthenticated clients where the endpoint is not required publicly.
  4. Remove unnecessary identity information. Corporate email addresses and internal CMS usernames should not be exposed through public author metadata if they are not required by the application. Metadata is data about data: here, the extra details attached to an author's name.
  5. Protect administrative endpoints. Where appropriate, restrict /wp-login.php and /wp-admin through additional network or authentication controls. /wp-admin is the address of the WordPress administration area.

The report does not state which of these were applied.

Variants to test: the same idea on other sites

When a site appears protected by Cloudflare, Akamai, Fastly, AWS CloudFront, reverse proxies, WAFs or CDN redirects, do not assume the backend is protected. Those are all names of products that sit in front of websites. A reverse proxy is a server that forwards requests to another server behind it. A WAF, or web application firewall, inspects requests and blocks suspicious ones. Ask what happens if you reach the origin without going through the intended hostname. The methodology is:

Text
Primary hostname      ↓Understand expected behavior      ↓Identify infrastructure      ↓Find possible origin      ↓Compare responses      ↓Test access-control parity

Line by line:

  • Primary hostname: start with the address the company advertises.
  • Understand expected behavior: record what normally happens, so you have a baseline.
  • Identify infrastructure: work out which servers and services sit behind the name.
  • Find possible origin: look for a direct address for the real server.
  • Compare responses: send the same request to both and see whether the answers differ.
  • Test access-control parity: check whether both addresses apply the same rules. Parity means equality.

Concrete things to try on other targets:

  1. Passive DNS and historical hostnames. Look for cloud hostnames and origin naming patterns (DNS records, historical DNS, certificate transparency, passive DNS, CDN headers). Certificate transparency is a public log of the security certificates issued for websites, which often reveals names a company never advertises. A positive result is a hostname that serves the same application as the public one, confirmed by matching page titles, HTML structure, application headers, assets, cookies and API responses. HTML is the language web pages are written in, assets are the files a page loads such as images and scripts, and cookies are small pieces of data a site stores in your browser to remember things about you.
  2. Public-versus-origin differential. Send the same sensitive request to both hostnames. A positive result is the public host returning 301, 403, 401 or a challenge while the origin returns 200 with the application content. A challenge is a page that asks you to prove you are human or to pass some other check.
  3. WordPress user enumeration on the origin. Request /wp-json/wp/v2/users?per_page=100 unauthenticated. A positive result is HTTP 200 with user objects containing names, slugs and email fields where present.
  4. Administrative surface discovery. Request /wp-login.php on the origin. A positive result is HTTP 200 with the login form rather than a redirect or block.
  5. Safe escalation checks. Test write operations, /wp-json/wp/v2/settings, draft/private content, xmlrpc.php and self-registration. A positive result is any unauthenticated write or administrative access; in this case all of these were protected, which is exactly the kind of negative result worth recording. Stop at a read-only proof and do not unnecessarily modify production data. Read-only means looking without changing anything.

The critical comparison is:

Text
PUBLIC HOST301 → redirect
Text
ORIGIN HOST200 → WordPress

That difference immediately reveals the security boundary failure. A security boundary is the line between what is protected and what is not. The lesson is to find the boundary, find another path around it, compare the security controls, prove what actually becomes accessible, and stop before unnecessary impact.

Glossary

  • 301: an HTTP status code meaning a page has moved permanently; the browser is told to go to a new address.
  • 401: an HTTP status code meaning the request was not authenticated, so the server refuses it.
  • 403: an HTTP status code meaning the request is understood but forbidden.
  • Access control: the rules that decide who may see or do what.
  • API: a machine-readable interface that lets one program ask another for data or actions, usually returning structured data such as JSON.
  • Asset: any file or resource a website uses, such as images, scripts or stylesheets.
  • Asset mapping: making a list of everything an organisation owns that is reachable from the internet.
  • Authentication: proving who you are, usually by logging in.
  • Bypass: getting past a control without satisfying it.
  • CDN: content delivery network; servers placed between visitors and a website to speed it up and apply rules.
  • Certificate: a digital document that proves the identity of a server or service.
  • Certificate transparency: a public log of certificates issued for websites, often revealing unadvertised names.
  • CMS: content management system; software for storing and organising a website's pages and users, such as WordPress.
  • Cookie: a small piece of data a website stores in your browser to remember something about you.
  • Credential: a username and password, or similar proof of identity.
  • Credential attack: trying to guess, reuse or steal credentials.
  • DNS: the domain name system, the internet's address book that turns names into server addresses.
  • Draft: a page or post that has not been published.
  • Edge: the outer boundary of a company's systems, closest to the public.
  • Endpoint: one specific address of an API or application that performs one specific job.
  • Enumeration: listing items one by one, such as user accounts.
  • Escalation: turning a small problem into a bigger one, for example from reading data to changing it.
  • Header: extra information attached to a web request or response, such as where to redirect or what type of data follows.
  • Host header: the part of a web request that carries the name the visitor typed.
  • HTML: the language web pages are written in.
  • HTTP: the protocol browsers and servers use to exchange requests and responses.
  • Information disclosure: a system revealing data to someone who should not have it.
  • IP allowlisting: only permitting connections from certain numeric internet addresses.
  • JSON: a simple text format for structured data, used by APIs.
  • Metadata: data about data; here, extra details attached to an author's name.
  • mTLS: mutual TLS, where both sides of a connection prove their identity with certificates.
  • Negative result: a test that found nothing wrong.
  • Origin: the actual server that runs a website, as opposed to the edge layer in front of it.
  • Parity: equality; here, whether two addresses apply the same rules.
  • Passive DNS: a record of DNS answers seen in the wild over time, without actively querying.
  • PHP: the programming language WordPress is built with.
  • Query parameter: an instruction added to a web address after a question mark.
  • Redirect: a web answer telling the browser to go to a different address instead.
  • Remediation: the fix for a security problem.
  • REST API: a style of API that uses ordinary web addresses and HTTP methods to read and change data.
  • Reverse proxy: a server that forwards requests to another server behind it.
  • Self-registration: a feature letting visitors create their own accounts.
  • Slug: the short, URL-friendly version of a name.
  • Social engineering: tricking people into doing something, for example with a convincing fake email.
  • Status code: a three-digit number in a web response summarising the answer.
  • Unauthenticated: not logged in.
  • WAF: web application firewall; inspects requests and blocks suspicious ones.
  • WordPress: a popular content management system for building websites.
  • XML-RPC: an older WordPress interface that lets other programs perform actions on the site.

More by redhunter01

View all

24 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.