Skip to content
RCE Write-up Advanced

Nom for Security: A Proactive Security Review of Nomulus

The review found several security weaknesses in Nomulus, including a Java deserialization endpoint that could lead to remote code execution, logging of OAuth access tokens, weak password hashing, non-constant-time credential comparison, and a partial authentication bypass. An attacker with administrative access could exploit the deserialization for RCE, while leaked tokens or timing attacks could potentially escalate privileges.

Sam Erb Follow

Published on bughunters.google.com

As part of our goal to keep Google/Alphabet products secure and our users safe, our Information Security Engineering (ISE) team will proactively review products outside of product design/launch lifecycles. In this post, we want to share an example of such a review.

Sam Erb (@erbbysam), Justin Taft, on bughunters.google.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. 7 min read.

Context

Nomulus is an open source, scalable, cloud-based service for operating top-level domains (TLDs), used by https://registry.google/. The review described here was a proactive security review by Google's Information Security Engineering (ISE) team, carried out outside the normal product design and launch lifecycle, with the aim of keeping Google and Alphabet products secure. The authors are Sam Erb (@erbbysam) and Justin Taft.

The trigger was a third-party blog post, https://hackcompute.com/hacking-epp-servers/, read in June 2023. It contained a reference to Nomulus and the following remark, which prompted the review:

We spent a significant amount of time on Google's registry software and discovered an endpoint that we believe are [sic] not supposed to be accessed without authentication, but given that we couldn't prove much security impact, it was not reported to Google.

Because Nomulus is open source, the findings are also visible on GitHub, and the write-up was published for that reason.

Setup

The approach took about a week and had three parts:

  1. Deploy a private instance of Nomulus onto Google App Engine. This provided a safe environment to test privilege escalation and other vulnerability types without risking production impact.
  2. Manually review the code, focusing on authentication and authorisation systems that may contain business logic vulnerabilities which automated code scans would not pick up.
  3. Run automated scans over the codebase, such as CodeQL, which may not have been run previously.

Burp Suite was used against the deployed instance alongside the code review and the scanning tools.

Finding it

The review produced a handful of issues, described as less severe and now patched. They span deserialisation, logging of credentials, password hashing, a non-constant-time credential comparison, and a partial authentication bypass. Each is covered below in the order the report presents them.

Exploitation

Step 1: Admin Java deserialisation on /_dr/task/resaveEntity

The team observed that an administrative user could use the /_dr/task/resaveEntity endpoint to exploit a Java deserialisation vulnerability resulting in remote code execution. Administrators already have full access to any data in the system, but preventing RCE is still important. A simple proof of concept was produced, though not a fully functional exploit.

Text
Request:
java -jar ./core/build/libs/nomulus.jar -e alpha curl -u '/_dr/task/resaveEntity?requestedTime=5&resaveTimes=2&resourceKey=sql:<redacted base64 payload>@kind:Domain' --service BACKEND -X POST

Traceback observed:

Uncaught exception from servletjava.lang.IllegalArgumentException: Unable to deserialize: objectBytes=<redacted hex payload>    at

google.registry.util.SerializeUtils.deserialize(SerializeUtils.java:66)    at

google.registry.util.SerializeUtils.parse(SerializeUtils.java:89)    at

google.registry.persistence.VKey.createEppVKeyFromString(VKey.java:100)    at

google.registry.batch.ResaveEntityAction.lambda$run$0(ResaveEntityAction.java:77)

The resourceKey parameter carries a sql: prefixed value whose base64 portion is the serialised object, tagged @kind:Domain. The traceback shows the value reaching VKey.createEppVKeyFromString, which calls SerializeUtils.parse and then SerializeUtils.deserialize, where the IllegalArgumentException: Unable to deserialize is raised. The traceback shows the value reaching VKey.createEppVKeyFromString, which calls SerializeUtils.parse and then SerializeUtils.deserialise, where the IllegalArgumentException: Unable to deserialise is raised.

The Nomulus team hardened this endpoint to eliminate the vulnerability. The relevant code is in SerializeUtils.java and the fix is PR 2150.

Step 2: Credential leak via logging

In the test instance, end user OAuth access tokens were being logged. Logging secrets can be acceptable in test instances, but leaked production logs containing access tokens could lead to privilege escalation attacks. The actual risk was very low: the access tokens have a one-hour expiration and access to production logs is limited to trusted administrators.

The team stopped logging access tokens in production logs (PR 2148), and the issue was mitigated in the long term by migrating from OAuth to OIDC. The relevant code is in RequestAuthenticator.java.

Step 3: Password hashing with SHA256

EPP access to registry.google is restricted by three controls:

  • Client certificate-based authentication
  • IP address allowlists
  • EPP password-based login

The EPP protocol itself requires password-based authentication, so Nomulus has to store and manage passwords. While reviewing this code, the team spotted that Nomulus uses SHA256 to hash these passwords before storage. On the recommendation of their crypto team, Nomulus is transitioning to scrypt (PR 2191). The relevant code is in PasswordUtils.java, and the report cites RFC 5730 section [redacted] as the protocol reference.

Step 4: Non-constant comparison in the credential check

The team spotted a non-constant-time comparison which, depending on the Nomulus deployment, could lead to a side-channel attack used to bypass the certificate authentication check. The report describes this as an unlikely attack scenario but stresses that constant-time comparisons should be used when validating any authenticator. The fix is PR 2147.

Step 5: Partial authentication bypass on https://registry.google

Using internal bug reports and documentation, the team demonstrated an insider threat risk to Nomulus that could bypass two of the three authentication methods to gain access to the system. They were not able to bypass the EPP password-based login. The Nomulus team accelerated their transition from OAuth to OIDC, which contains mitigations for these insider threat risks (PR 2171).

Root cause

Each finding maps to a distinct mistake:

  • Deserialisation: the resaveEntity task accepted a serialised object supplied in the resourceKey request parameter and passed it to Java deserialisation (SerializeUtils.deserialize via VKey.createEppVKeyFromString) without preventing the deserialisation of attacker-controlled bytes. The endpoint was reachable by an administrative user, so the existing authorisation boundary limited who could reach it but did not remove the RCE primitive.
  • Logging: OAuth access tokens were written to logs.
  • Password hashing: EPP requires password authentication, and the stored representation used SHA256, a fast hash, rather than a password-specific slow KDF such as scrypt.
  • Credential comparison: the certificate authentication check used a non-constant comparison which, depending on the deployment, could lead to a side-channel attack used to bypass the check.
  • Partial auth bypass: using internal bug reports and documentation, the team demonstrated an insider threat risk that could bypass two of the three authentication methods; the EPP password-based login held.

Impact

The report is explicit about the limits of each issue:

  • The deserialisation issue yields remote code execution, but only for an administrative user who already has full access to the data in the system. The team produced a simple POC, not a fully functional exploit.
  • The logged OAuth access tokens could, in principle, enable privilege escalation if production logs leaked, but the tokens expire after one hour and production log access is limited to trusted administrators, so the actual risk is very low.
  • Nomulus used SHA256 to hash EPP passwords before storage; EPP access is additionally gated by client certificates and IP allowlists.
  • The non-constant comparison could permit a side-channel bypass of the certificate authentication check, described as an unlikely attack scenario and dependent on the deployment.
  • The partial bypass is framed as an insider threat risk: two of the three authentication methods could be bypassed, but not the EPP password-based login.

Fix

The team worked closely with the Nomulus team throughout the process to remediate the issues:

Issue Fix
Admin Java deserialisation Endpoint hardened; PR 2150
Credential leak via logging Access tokens no longer logged in production; PR 2148; long-term migration from OAuth to OIDC
SHA256 password hashing Transition to scrypt; PR 2191
Non-constant comparison PR 2147
Partial auth bypass Accelerated migration from OAuth to OIDC; PR 2171

Variants to test

  • Task and cron endpoints that accept serialised parameters. Look for administrative or backend-only handlers that take a serialised object in a query or body parameter, as resaveEntity did with resourceKey. A positive result is a stack trace showing the bytes reaching a deserialisation call, as in the SerializeUtils.deserialize traceback above.
  • Authentication code that logs request context. Check whether access tokens, session identifiers or authorization headers are written to logs in any environment. A positive result is a token value appearing in log output that would be shipped to a shared logging backend in production.
  • Password storage in protocols that mandate passwords. Where a protocol such as EPP requires password authentication, inspect the stored representation. A positive result is a fast hash such as SHA256 rather than a password-specific KDF.
  • Certificate and credential comparisons. Review authenticator checks for non-constant-time comparison of secrets or certificate material. A positive result is a comparison whose timing varies with the number of matching leading bytes, exploitable depending on deployment.
  • Layered authentication where one factor is stronger than the others. Map every control in front of a sensitive interface and test whether weaker factors can be bypassed while the strongest holds, as with the two-of-three bypass here. A positive result is access reached with the strongest factor still enforced but the others circumvented.

If you want to report a security vulnerability to Google, the report points to the form at https://bughunters.google.com/report/.

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. 19 min read.

What happened, in plain words

Google has a team called Information Security Engineering (ISE). Its job is to keep Google and Alphabet products safe. Normally, security is checked while a product is being designed and launched. This team also looks at products at other times, outside that normal cycle, to catch problems that slipped through. This article is an example of one of those extra reviews.

What they reviewed was Nomulus. Nomulus is a piece of software that runs top-level domains (TLDs). A TLD is the last part of a web address, such as .com or .google. Nomulus is open source, which means its code is published for anyone to read, and it is used by https://registry.google/. Because the code is public, the team decided to write up what they found so everyone can see it on GitHub too.

The review started almost by accident. In June 2023 the team was reading a blog post at https://hackcompute.com/hacking-epp-servers/. That post mentioned Nomulus and contained this remark:

We spent a significant amount of time on Google's registry software and discovered an endpoint that we believe are [sic] not supposed to be accessed without authentication, but given that we couldn't prove much security impact, it was not reported to Google.

In plain words: someone else had found a part of Google's registry software that they thought should require a login but perhaps did not. They could not show that it caused real harm, so they never told Google. Reading that, the ISE team decided to look for themselves.

Over about a week they found a handful of issues. The report calls them less severe, and all of them have since been fixed. They cover five areas: a way to make the server run code it should not run, passwords and login tokens ending up in log files, weak password storage, a login check that can leak information through timing, and a way for someone inside the company to get past two of the three login checks on the real registry. The rest of this article walks through each one in the order the report presents them.

How they approached it

The team's plan had three parts, and it is worth understanding why each one was chosen.

  1. Deploy their own copy of Nomulus on Google App Engine. App Engine is Google's service for running web applications in the cloud. By installing their own private copy, the team had a playground. They could try to break things, including trying to give themselves more permissions than they should have (called privilege escalation), without any risk to the real registry that real customers use. Think of it as practising lock-picking on a lock you bought yourself rather than on your neighbour's front door.
  2. Read the code by hand. Automated tools are good at spotting known patterns, but they miss logic mistakes: places where each individual line looks fine but the way the pieces fit together is wrong. These are called business logic vulnerabilities. Login and permission systems are a classic place for them, so that is where the team focused their reading.
  3. Run automated scanners over the code. They used tools such as CodeQL, which reads source code and flags suspicious patterns. The reasoning is that these scans may not have been run on this code before, so they might turn up something new.

Alongside the code reading and the scanners, they used Burp Suite against their deployed copy. Burp Suite is a tool that sits between your browser and a website, letting you see and change every request that goes back and forth. It is the standard tool for this kind of hands-on testing.

The findings

Finding 1: A part of the admin interface that can run code (Java deserialisation)

First, some background. A web application is made of many endpoints. An endpoint is a specific address inside the application that does a specific job, a bit like a particular counter in a large office: one counter for passports, another for driving licences. Nomulus has an endpoint called /_dr/task/resaveEntity. The name suggests it is a background task that saves an entity (a record, such as a domain) again.

The team found that an administrative user, someone with high-level access, could use this endpoint to trigger a Java deserialisation vulnerability, which in turn could lead to remote code execution (RCE). Two big terms there, so let us unpack them.

Serialisation is turning an object in a program (say, a record describing a domain) into a stream of bytes so it can be stored or sent over a network. Deserialisation is the reverse: taking those bytes and turning them back into a live object inside the program. The everyday comparison is packing a piece of furniture into a flat box and then reassembling it at home. Deserialisation is the reassembly step.

The danger is that reassembly instructions can be abused. If an attacker can supply the bytes, they may be able to craft a box that, when reassembled, does something the program never intended, such as running the attacker's own commands. That is remote code execution: the attacker gets the server to run code of their choosing.

Why does this matter if only administrators can reach the endpoint? Administrators already have full access to all the data in the system, so in one sense they can already do whatever they like. The team still considered it important to prevent RCE, even though administrators already have full access to the data in the system. They built a simple proof of concept (POC), a demonstration that the problem is real, but not a fully working exploit.

Here is the proof of concept exactly as the report gives it:

Text
Request:
java -jar ./core/build/libs/nomulus.jar -e alpha curl -u '/_dr/task/resaveEntity?requestedTime=5&resaveTimes=2&resourceKey=sql:<redacted base64 payload>@kind:Domain' --service BACKEND -X POST

Traceback observed:

Uncaught exception from servletjava.lang.IllegalArgumentException: Unable to deserialize: objectBytes=<redacted hex payload>    at

google.registry.util.SerializeUtils.deserialize(SerializeUtils.java:66)    at

google.registry.util.SerializeUtils.parse(SerializeUtils.java:89)    at

google.registry.persistence.VKey.createEppVKeyFromString(VKey.java:100)    at

google.registry.batch.ResaveEntityAction.lambda$run$0(ResaveEntityAction.java:77)

Line by line, in plain words:

  • java -jar ./core/build/libs/nomulus.jar runs a Java program. The file nomulus.jar is Nomulus's own command-line tool, a program you run in a terminal rather than click on.
  • -e alpha tells that tool to work against an environment called alpha. An environment is a separate copy of a system, for example a test copy versus the live one.
  • curl is a subcommand of the Nomulus tool that sends a web request, much like the curl program many people use. -u supplies the credentials to log in with.
  • The quoted string is the address being requested: /_dr/task/resaveEntity with several parameters after a question mark. Parameters are named values passed to the endpoint, like answers on a form. requestedTime=5 and resaveTimes=2 are two of them. The important one is resourceKey, whose value starts with sql: and then contains a base64 payload. Base64 is a way of writing arbitrary bytes using only ordinary text characters, so they can travel safely inside a URL. The report redacts the actual payload. The value ends with @kind:Domain, which labels what kind of record it is meant to be.
  • --service BACKEND says to send the request to the backend service, the part of the application that does the real work behind the scenes.
  • -X POST means use the POST method. A web request has a method; GET is for fetching something, POST is for sending data that changes something.

The second half is the traceback. A traceback (or stack trace) is the error message a program prints when something goes wrong, showing the chain of function calls that led to the failure, from the outermost to the innermost. Reading from the bottom up:

  • ResaveEntityAction.lambda$run$0(ResaveEntityAction.java:77) is the code that handles the resave task. It is where the request's data first enters the picture.
  • VKey.createEppVKeyFromString(VKey.java:100) is a function that builds a key (an identifier for a record) from a piece of text. It is being handed the resourceKey value from the URL.
  • SerializeUtils.parse(SerializeUtils.java:89) takes that text and starts turning it into an object.
  • SerializeUtils.deserialize(SerializeUtils.java:66) is where the bytes are actually reassembled into a Java object. This is the dangerous step, often called the deserialisation sink: the place where attacker-controlled bytes are handed to the reassembly machinery.
  • The error itself, java.lang.IllegalArgumentException: Unable to deserialize: objectBytes=<redacted hex payload>, says the reassembly failed. The important part is not the failure but the path: the value from the URL travelled all the way to the deserialisation function. That is the proof that the endpoint accepts a serialised object from the caller.

The Nomulus team hardened this endpoint so the vulnerability no longer exists. The relevant code is in SerializeUtils.java, and the fix is pull request 2150. A pull request (PR) is a proposed change to a codebase that other developers review before it is merged.

Finding 2: Login tokens written into log files

Next, a different kind of mistake. In their test instance, the team noticed that end user OAuth access tokens were being written to the logs. Let us define the pieces.

OAuth is a widely used system that lets a user grant an application permission to act on their behalf without handing over their password. When you click "Sign in with Google" on some website, OAuth is usually what happens behind the scenes. The result of that process is an access token: a long string of characters that acts like a temporary pass. Whoever holds the token can use it to access the user's data, until it expires.

A log is a file where a program writes a record of what it did: requests received, errors, and so on. Logs are essential for debugging and for spotting attacks. But a log is also a place where secrets can accidentally pile up, and logs are often copied to central systems and read by many people.

So the problem is straightforward: a temporary pass was being written into a record that many people might read. In a test instance, logging secrets can be acceptable, because the data is not real. In production, where real users' tokens are involved, leaked logs containing access tokens could let someone else act as those users, which is a form of privilege escalation: gaining access you were not granted.

The team is careful about the actual risk, which they call very low, for two reasons. First, the access tokens expire after one hour, so a stolen token is only useful for a short window. Second, access to production logs is limited to trusted administrators. Those two facts reduce the danger but do not make the practice correct.

The fix was to stop logging access tokens in production logs, in pull request 2148. In the longer term, the issue was also mitigated by moving from OAuth to OIDC. OIDC (OpenID Connect) is a newer identity system built on top of OAuth; the report says it contains mitigations for the insider risks discussed later. The relevant code is in RequestAuthenticator.java.

Finding 3: Weak password storage (SHA256 instead of scrypt)

This one needs a little background on how the registry lets people in. Access to registry.google over EPP is restricted by three controls:

  • Client certificate-based authentication
  • IP address allowlists
  • EPP password-based login

Let us take those in turn. EPP (Extensible Provisioning Protocol) is the standard protocol that registrars use to register and manage domain names. It is a machine-to-machine conversation, not a website you click through.

A client certificate is a small file that proves the identity of the machine connecting, a bit like a company ID badge for a computer. Certificate-based authentication means the server checks that badge before letting the machine in. An IP address allowlist is a list of network addresses that are permitted to connect; anything not on the list is refused, like a guest list at a door. Password-based login is the familiar username and password.

The EPP protocol itself requires password authentication, so Nomulus has no choice but to store and manage passwords. The question is how. Passwords should never be stored as plain text, because anyone who reads the storage then knows every password. Instead they are stored as a hash: the result of feeding the password through a mathematical function that is easy to compute in one direction and practically impossible to reverse. When you log in, the system hashes what you typed and compares it with the stored hash.

The team found that Nomulus used SHA256 to hash these passwords. SHA256 is a well-known hash function, and it is fine for many purposes, but it is fast. That speed is the problem for passwords: an attacker who steals the stored hashes can try billions of guesses per second, hashing each guess and checking for a match. A password-specific key derivation function (KDF) such as scrypt is deliberately slow and memory-hungry, which makes that guessing attack far more expensive. The everyday comparison is a lock that takes one second to open versus one that takes a year: both can be opened, but only one is worth attacking.

On the recommendation of their crypto team, Nomulus is transitioning to scrypt, in pull request 2191. The relevant code is in PasswordUtils.java, and the report cites RFC 5730 section [redacted] as the protocol reference. An RFC is a formal document that defines internet standards; RFC 5730 is the EPP specification.

Finding 4: A login check that answers too quickly (non-constant comparison)

This finding is subtler, so it is worth going slowly. When a server checks a secret, such as a certificate, it compares what the client presented with what it expects. A naive comparison might stop at the first character that does not match. That sounds efficient, but it leaks information through timing: if the first character matches, the check takes a tiny bit longer than if it fails immediately. By measuring those tiny differences over many attempts, an attacker can work out the secret one character at a time. This is called a side-channel attack, because the attacker learns from a side effect (time) rather than from the main output.

A constant-time comparison avoids this by always taking the same amount of time, no matter where the first difference is. The team spotted a non-constant-time comparison in the credential check. Depending on how Nomulus is deployed, this could be used as a side-channel attack to bypass the certificate authentication check.

The report is honest about the likelihood: this is an unlikely attack scenario. But it stresses the principle that constant-time comparisons should be used when validating any authenticator, because the cost of doing it right is negligible. The fix is pull request 2147.

Finding 5: Getting past two of the three login checks (partial authentication bypass)

Finally, the biggest-sounding one. Using internal bug reports and documentation, the team demonstrated an insider threat risk: a risk that comes from someone who already works inside the organisation, or otherwise has some legitimate access. They showed that two of the three authentication methods protecting the system could be bypassed. They could not bypass the EPP password-based login.

An authentication bypass means getting in without correctly completing the checks that are supposed to stop you. A partial bypass means some checks were defeated but not all. In this case, two of the three authentication methods could be bypassed, but the EPP password-based login still held. That is why the report calls it partial: the strongest remaining factor, the password, still stood in the way.

The Nomulus team worked to accelerate their transition from OAuth to OIDC, which contains mitigations for these insider threat risks (PR 2171).

Why each issue happened

It helps to see the underlying mistake behind each finding, because the same mistakes appear in many other projects.

  • Deserialisation: the resaveEntity task accepted a serialised object supplied in the resourceKey request parameter and passed it to Java deserialisation, through VKey.createEppVKeyFromString and then SerializeUtils.deserialize, without preventing attacker-controlled bytes from being reassembled. The endpoint was reachable by an administrative user, so the permission boundary limited who could reach it, but it did not remove the ability to run code.
  • Logging: OAuth access tokens were written to logs. The actual risk was very low: the access tokens have a one-hour expiration and access to production logs is limited to trusted administrators.
  • Password hashing: EPP requires password authentication, and the stored representation used SHA256, a fast hash, rather than a password-specific slow KDF such as scrypt.
  • Credential comparison: the certificate authentication check used a non-constant comparison which, depending on the deployment, could lead to a side-channel attack used to bypass the check.
  • Partial auth bypass: using internal bug reports and documentation, the team demonstrated an insider threat risk that could bypass two of the three authentication methods; the EPP password-based login held.

How serious each one was

The report is explicit about the limits of each issue, and it is worth repeating them because they show how security work is about weighing risk rather than just ticking boxes.

  • The deserialisation issue yields remote code execution, but only for an administrative user who already has full access to the data in the system. The team produced a simple POC, not a fully functional exploit.
  • The logged OAuth access tokens could, in principle, enable privilege escalation if production logs leaked, but the tokens expire after one hour and production log access is limited to trusted administrators, so the actual risk is very low.
  • Nomulus used SHA256 to hash EPP passwords before storage; EPP access is additionally gated by client certificates and IP allowlists.
  • The non-constant comparison could permit a side-channel bypass of the certificate authentication check, described as an unlikely attack scenario and dependent on the deployment.
  • The partial bypass is framed as an insider threat risk: two of the three authentication methods could be bypassed, but not the EPP password-based login.

What was fixed

The team worked closely with the Nomulus team throughout the process to remediate the issues. The table below maps each issue to its fix.

Issue Fix
Admin Java deserialisation Endpoint hardened; PR 2150
Credential leak via logging Access tokens no longer logged in production; PR 2148; long-term migration from OAuth to OIDC
SHA256 password hashing Transition to scrypt; PR 2191
Non-constant comparison PR 2147
Partial auth bypass Accelerated migration from OAuth to OIDC; PR 2171

Where else to look for the same patterns

If you are learning to review software, these are the patterns the team would look for again. Each one is a question you can ask of any codebase.

  • Task and cron endpoints that accept serialised parameters. A cron endpoint is one meant to be called on a schedule by the system itself, not by a person. Look for administrative or backend-only handlers that take a serialised object in a query or body parameter, as resaveEntity did with resourceKey. A positive result is a stack trace showing the bytes reaching a deserialisation call, as in the SerializeUtils.deserialize traceback above.
  • Authentication code that logs request context. Check whether access tokens, session identifiers or authorization headers are written to logs in any environment. A positive result is a token value appearing in log output that would be shipped to a shared logging backend in production.
  • Password storage in protocols that mandate passwords. Where a protocol such as EPP requires password authentication, inspect the stored representation. A positive result is a fast hash such as SHA256 rather than a password-specific KDF.
  • Certificate and credential comparisons. Review authenticator checks for non-constant-time comparison of secrets or certificate material. A positive result is a comparison whose timing varies with the number of matching leading bytes, exploitable depending on deployment.
  • Layered authentication where one factor is stronger than the others. Map every control in front of a sensitive interface and test whether weaker factors can be bypassed while the strongest holds, as with the two-of-three bypass here. A positive result is access reached with the strongest factor still enforced but the others circumvented.

If you want to report a security vulnerability to Google, the report points to the form at https://bughunters.google.com/report/.

Glossary

  • Access token: a temporary string of characters that proves an application is allowed to act on a user's behalf, usually issued by an OAuth system and expiring after a set time.
  • App Engine: Google's cloud service for running web applications.
  • Authentication: the process of proving who you are, for example with a password or a certificate.
  • Authorisation: the process of deciding what an authenticated user is allowed to do.
  • Base64: a way of encoding arbitrary bytes as ordinary text characters so they can travel inside URLs or other text-only places.
  • Burp Suite: a tool that sits between a browser and a website so you can inspect and modify every request and response.
  • Business logic vulnerability: a flaw in how the pieces of an application fit together, rather than in a single line of code, which automated scanners tend to miss.
  • Client certificate: a file that proves the identity of a connecting machine, like an ID badge for a computer.
  • CodeQL: an automated tool that scans source code for suspicious patterns.
  • Constant-time comparison: a comparison that takes the same amount of time regardless of where the inputs differ, so it does not leak information through timing.
  • Cron endpoint: an endpoint meant to be called automatically on a schedule by the system itself.
  • Deserialisation: turning a stream of bytes back into a live object inside a program; the reverse of serialisation.
  • Endpoint: a specific address inside a web application that performs a specific job.
  • Environment: a separate copy of a system, such as a test copy versus the live production one.
  • EPP (Extensible Provisioning Protocol): the standard protocol registrars use to register and manage domain names.
  • Exploit: a working method of taking advantage of a vulnerability.
  • Hash: the result of feeding data through a one-way mathematical function, used to store passwords without keeping the original.
  • Insider threat: a risk that comes from someone with legitimate access inside an organisation.
  • IP address allowlist: a list of network addresses permitted to connect; everything else is refused.
  • KDF (key derivation function): a function designed to turn a password into a stored value slowly and deliberately, to make guessing attacks expensive.
  • Log: a file where a program records what it did, used for debugging and for spotting attacks.
  • OAuth: a system that lets a user grant an application permission to act on their behalf without sharing their password.
  • OIDC (OpenID Connect): a newer identity system built on top of OAuth.
  • Open source: software whose source code is published for anyone to read.
  • Parameter: a named value passed to an endpoint, like an answer on a form.
  • POST: a web request method used to send data that changes something on the server.
  • Privilege escalation: gaining access or permissions you were not granted.
  • Production: the live system that real users use, as opposed to a test copy.
  • Proof of concept (POC): a demonstration that a vulnerability is real, not necessarily a full working attack.
  • Pull request (PR): a proposed change to a codebase that other developers review before it is merged.
  • Remote code execution (RCE): getting a server to run code of the attacker's choosing.
  • RFC: a formal document that defines an internet standard.
  • scrypt: a deliberately slow, memory-hungry password hashing function designed to resist guessing attacks.
  • Serialisation: turning an object inside a program into a stream of bytes so it can be stored or sent.
  • SHA256: a fast, widely used hash function, not designed for storing passwords.
  • Side-channel attack: an attack that learns secrets from side effects such as timing rather than from the main output.
  • Stack trace (traceback): the error message a program prints showing the chain of function calls that led to a failure.
  • TLD (top-level domain): the last part of a web address, such as .com or .google.
  • Token: a string of characters that acts as a temporary pass.
  • Vulnerability: a weakness in software that could be used to cause harm.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.