Oracle Access Manager Pre-Auth RCE (CVE-2021–35587 Analysis)
A pre-authentication deserialisation flaw in Oracle Access Manager allowed an attacker to send a crafted XML request that triggered unsafe deserialisation of a base64-encoded object, leading to remote code execution. The attacker could create users with any privileges or execute code on the server.
Published on testbnull.medium.com
As you may know, Oracle Access Manager (OAM) is a popular SSO product used by many big corp such as Oracle, VMware, Huawei, Qualcomm, …
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
Oracle Access Manager (OAM) is a single sign-on product used by large organisations. The write-up describes a pre-authentication remote code execution issue in OAM 12c, found by accident by Nguy�
n Tiến Giang (@testanull) and Peterjson while they were building a proof of concept for a different, still unfixed vulnerability.
The entrypoint is the URL endpoint `/oam/server/opensso/sessionservice`, which is handled by the class `oracle.security.am.pbl.transport.http.AMServlet`. The report notes that the entrypoint is easy to reach and the vulnerability easy to exploit, and recommends applying the patch. The report notes that exploitation may give an attacker access to the OAM server, the ability to create any user with any privileges, or code execution on the victim's server.
## Setup
The lab was built following two installation guides for OAM 12c (version 12.2.1.3.0) from k21academy, covering download and installation and the RCU and domain configuration. The authors describe the setup as painful: it took a month to get a fully functional lab and they almost gave up after two weeks. They no longer remember the details and cannot help with setup problems.
The write-up focuses on OAM 12c. For OAM 11g, the authors say more complicated work is needed to get RCE, and note that most public targets still run OAM 11g rather than 12c.
## Finding it
The vulnerability was discovered by accident while the two researchers were analysing and building a PoC for another 0day. The analysis starts from the `/oam/server/opensso/sessionservice` endpoint and follows the request through the OAM request-handling code until it reaches a deserialisation sink.
## Exploitation
### Step 1: the servlet entrypoint
The endpoint `/oam/server/opensso/sessionservice` is handled by `oracle.security.am.pbl.transport.http.AMServlet`.
{{media:0}}
`AMServlet.doPost()` does little work: it calls `handleRequest()` and then `PBLFlowManager.processRequest()` to process the incoming request.
{{media:1}}
### Step 2: URI to event name
In `PBLFlowManager.processRequest()`, the incoming URI `/oam/server/opensso/sessionservice` is mapped to an event name called `OPENSSO_CHECK_VALID_SESSION`.
{{media:2}}
An `EventHint` is then created from that event name, and the request handler is fetched from a map using the event hint.
{{media:3}}
In this case the request handler is an instance of `AgentRequestHandler`. The authors mention there is a larger list of handler endpoint mappings but do not remember where it is.
{{media:4}}
### Step 3: the two parts of handleBaseEvent
From `PBLFlowManager.handleBaseEvent()`, the request flow splits into two parts:
1. The request handler's `process()` is called to parse and validate the incoming XML data.
2. `PBLFlowManager.delegateToMasterController()` is called to handle the logic of the current request.
In the first part, `AgentRequestHandler.process()` calls `handleXMLRequest()` to parse the incoming data as XML.
{{media:5}}
After the data has been successfully parsed as an XML request, the method continues into `AgentRequestHandler.handleRequest()`.
{{media:6}}
### Step 4: passing isValid()
To get past the `isValid()` method, the incoming request must follow this form:
```xml
<?xml version=”1.0" encoding=”UTF-8" standalone=”yes”?><RequestSet vers=”vers123" svcid=”session” reqid=”req_1”><Request dtdid=”dtd1" sid=”sid1">Data</Request></RequestSet>
```
{{media:7}}
The `RequestSet` carries a `svcid` attribute, and the inner `Request` element carries the data that is processed later.
### Step 5: choosing the service handler
`handleRequest()` then calls `getServiceHandler()` with the `serviceId` parameter, which can be fully manipulated.
{{media:8}}
There are four types of service handler, selected by four `svcid` values:
| Handler | svcid |
| --- | --- |
| NamingService | `com.iplanet.am.naming` |
| AuthXMLHandler | `auth` |
| SessionRequestHandler | `session` |
| PolicyXMLHandler | `policy` |
The write-up focuses on `SessionRequestHandler`.
{{media:9}}
### Step 6: SessionRequestHandler.process()
After the session handler is determined, `AgentRequestHandler.handleRequest()` calls the given handler's `process()`, here `SessionRequestHandler.process()`. That method takes the data from the XML tag named `Request` and parses it again as XML.
{{media:10}}
### Step 7: the requester attribute
In `SessionRequestParser.parseXML()`, if the incoming XML request contains an attribute named `requester`, its data is base64 decoded and set as a property named `Requester`.
{{media:11}}
At this point the request data looks like this:
{{media:12}}
The authors note that although this sounds straightforward when reading the document, completing this data is not easy in practice.
### Step 8: into the master controller
After the XML data has been parsed, the second part begins: `PBLFlowManager.handleBaseEvent()` calls `delegateToMasterController()`, then `MasterController.process()`, `MasterController.processRequest()` and `OpenssoEngineController.processEvent()`. The call frame is shown below.
{{media:13}}
The `OpenssoEngineController` is determined by the `EventHint` mentioned earlier.
### Step 9: the OPENSSO_CHECK_VALID_SESSION branch
In `OpenssoEngineController.processEvent()` a switch statement handles each event type. In this case the event is `OPENSSO_CHECK_VALID_SESSION`.
{{media:14}}
Following that branch leads to a call to `OpenssoEngineController.unmarshal()` with the given `requester` attribute.
{{media:15}}
The content of the `unmarshal()` method is shown below.
{{media:16}}
### Step 10: the deserialisation sink
If the `requester` attribute has the form `object:<base64 data>`, the data is deserialised directly, without any filtering. That is the sink of the vulnerability. The request looks like this:
{{media:17}}
### Step 11: the gadget chain
OAM is built on top of WebLogic, and OAM's classloader also contains WebLogic's libraries, so a WebLogic gadget chain can be used to get RCE. After trying many old gadget chains, the authors found that the CVE-2020-14644 gadget chain was still not blocked by the global serialisation filter, and the final PoC used it to get RCE.
## Root cause
The `requester` attribute of the inner XML request is base64 decoded and passed to `OpenssoEngineController.unmarshal()`. When the value has the `object:` prefix, the decoded bytes are deserialised without filtering. Because OAM runs on WebLogic and its classloader includes WebLogic libraries, a WebLogic gadget chain (CVE-2020-14644) can be used to reach code execution. The global serialisation filter in place did not block that chain.
## Impact
An unauthenticated attacker who can reach the endpoint can exploit the vulnerability. The authors state it may give access to the OAM server, allow creating any user with any privileges, or get code execution on the victim's server. The authors demonstrated the PoC on OAM 12c.
There are important limits. After the authors applied the latest patch to their OAM 12c instance, the PoC was no longer exploitable. Reviewing the patch and older versions showed Oracle had not fixed the vulnerability: the recent OAM 12c patch dropped support for OpenSSO, which removed the `/oam/server/opensso/sessionservice` entrypoint by accident. The vulnerable entrypoint still existed in a fully updated OAM 11g. In OAM 11g the CVE-2020-14644 gadget chain does not exist, so more work is needed to build a working gadget chain; the authors say they will cover that separately.
The authors also note that WebLogic 10.3.6 and OAM 11g are end-of-life, with no patches after 1 January 2022, so in their words there is no patch for this pre-auth RCE.
## Fix
The report does not describe an official fix for the vulnerability. The only change observed was incidental: the OAM 12c patch that dropped OpenSSO support removed the entrypoint, which stopped the PoC on that instance. The vulnerable entrypoint remained in a fully updated OAM 11g. The authors recommend applying the patch, and separately note the end-of-life status of OAM 11g and WebLogic 10.3.6.
## Variants to test
1. Check whether `/oam/server/opensso/sessionservice` responds on an OAM deployment.
2. Send a `RequestSet` with `svcid="session"` and an inner `Request` containing a `requester` attribute.
3.
4.
5.## What happened, in plain words
Oracle Access Manager, usually shortened to OAM, is a product that lets one company log a person in once and then let that person use many different internal websites and applications without typing a password again. This is called single sign-on, or SSO.
Two researchers, Nguy�
n Tiến Giang (@testanull) and Peterjson, found a serious security hole in OAM by accident. They were not looking for it. They were busy building a proof of concept, which is a small demonstration that a security problem really works, for a different and still unfixed vulnerability when they stumbled on this one.
The hole may let someone who has never logged in send a specially crafted request to the OAM server and make the server run code of the attacker's choosing. In security language this is called pre-authentication remote code execution. "Pre-authentication" means before any login. "Remote" means the attacker can be on the other side of the network. "Code execution" means the attacker's instructions run on the victim's machine, which is about as bad as it gets.
The authors say the entrypoint is easy to reach and the vulnerability is easy to exploit, and they recommend applying the patch, which is the vendor's update that closes the hole. They also say exploitation may give an attacker access to the OAM server, the ability to create any user with any privileges, or code execution on the victim's server.
The rest of this article walks through the same path the researchers followed, from the first web request to the moment the server runs the attacker's code. Every step is explained from scratch, so you only need to know how to use a browser and a computer.
## Setting up a lab
To study a vulnerability safely, researchers build a lab: a copy of the software running on their own machine or network, where they can break things without harming anyone. The authors used two installation guides for OAM 12c, version 12.2.1.3.0, from k21academy. One guide covers downloading and installing the product, the other covers RCU and domain configuration. RCU stands for Repository Creation Utility, a tool that prepares the database OAM stores its data in, and a domain is the configured OAM instance you actually run.
The authors describe the setup as painful. It took them a month to get a fully functional lab, and they almost gave up after two weeks of trying. They say they have now forgotten the details and cannot help if you run into setup trouble.
The write-up focuses on OAM 12c. For OAM 11g, an older release, the authors say more complicated work is needed to get code execution. They also note that most public targets still run OAM 11g rather than 12c, which matters later.
## Finding it
The discovery was accidental, during analysis and proof-of-concept work for another zero-day. A zero-day is a vulnerability the vendor does not know about yet, so there is no patch. The researchers started from one specific web address on the OAM server and followed the request through the product's internal code until it reached the dangerous spot.
## Exploitation
### Step 1: the servlet entrypoint
The endpoint, meaning a specific web address on the server that accepts requests, is `/oam/server/opensso/sessionservice`. This address is handled by a piece of Java code, a class, named `oracle.security.am.pbl.transport.http.AMServlet`. A servlet is a Java program that runs inside a web server and answers web requests. Think of the endpoint as a door in a building and the servlet as the receptionist sitting behind that door: every request that arrives at this address is handed to this class.
{{media:0}}
The screenshot shows the endpoint and the class that handles it.
`AMServlet.doPost()` does very little work. `doPost` is the method, meaning the named block of code, that runs when a browser or tool sends data to the server using the HTTP POST method. POST is simply the way a client submits data to a server, as opposed to GET, which asks for a page. This method calls `handleRequest()` and then `PBLFlowManager.processRequest()` to process the incoming request. In plain terms, the receptionist does not handle the matter personally: it passes the request to a manager, here the class `PBLFlowManager`.
{{media:1}}
The screenshot shows `AMServlet.doPost()` calling `handleRequest()` and then `PBLFlowManager.processRequest()`.
### Step 2: from web address to event name
Inside `PBLFlowManager.processRequest()`, the incoming URI `/oam/server/opensso/sessionservice` is mapped to an event name called `OPENSSO_CHECK_VALID_SESSION`. A URI is the part of a web address that identifies the resource, and mapping means looking up one value in a table to find another. The product does not treat this address as a random page: it recognises it as a named event, a specific action the system knows how to perform. Here the action is "check whether a session is valid". A session is the state of being logged in; a session check asks the server whether a given login is still good.
{{media:2}}
The screenshot shows the URI being mapped to the event name `OPENSSO_CHECK_VALID_SESSION`.
Next, an `EventHint` is created from that event name, and the request handler is fetched from a map using the event hint. A map, in programming, is a lookup table: you give it a key and it gives you back a value. The event hint is the key, and the request handler is the value. A request handler is the object, meaning the bundle of code and data, that will actually deal with this kind of request.
{{media:3}}
The screenshot shows the `EventHint` being created and the request handler being looked up in the map.
In this case the request handler is an instance of `AgentRequestHandler`. The authors mention there is a larger list of handler endpoint mappings but do not remember where it is.
{{media:4}}
The screenshot shows that the handler for this request is `AgentRequestHandler`.
### Step 3: the two parts of handleBaseEvent
From `PBLFlowManager.handleBaseEvent()`, the request flow splits into two parts:
1. The request handler's `process()` is called to parse and validate the incoming XML data.
2. `PBLFlowManager.delegateToMasterController()` is called to handle the logic of the current request.
XML is a text format for structured data, where information is wrapped in tags such as `<Request>...</Request>`, much like labels on boxes. Parsing means reading that text and turning it into data the program can work with. Validating means checking that the data has the expected shape before trusting it. So the first part is the receptionist checking that the form you handed in is filled in correctly, and the second part is passing it to the department that acts on it.
In the first part, `AgentRequestHandler.process()` calls `handleXMLRequest()` to parse the incoming data as XML.
{{media:5}}
The screenshot shows `AgentRequestHandler.process()` calling `handleXMLRequest()`.
After the data has been successfully parsed as an XML request, the method continues into `AgentRequestHandler.handleRequest()`.
{{media:6}}
The screenshot shows the jump from `handleXMLRequest()` into `AgentRequestHandler.handleRequest()`.
### Step 4: passing isValid()
To get past the `isValid()` method, the incoming request must follow this form:
```xml
<?xml version=”1.0" encoding=”UTF-8" standalone=”yes”?><RequestSet vers=”vers123" svcid=”session” reqid=”req_1”><Request dtdid=”dtd1" sid=”sid1">Data</Request></RequestSet>
```
Line by line, in plain words:
- `<?xml version=”1.0" encoding=”UTF-8" standalone=”yes”?>` is the XML declaration. It tells the parser this is XML, which version, which character encoding (UTF-8, the standard way of representing text), and that the document stands alone.
- `<RequestSet ...>` opens the outer container. Everything inside belongs to one set of requests.
- `vers=”vers123"` is a version attribute. An attribute is a named value attached to a tag, like a label on the box.
- `svcid=”session”` is the service identifier. This is the important one: it tells OAM which internal service should handle the request. Here it says "session".
- `reqid=”req_1”` is a request identifier, a name for this particular request.
- `<Request dtdid=”dtd1" sid=”sid1">Data</Request>` is the inner request. `dtdid` and `sid` are further attributes, and `Data` is the payload, the actual content.
- `</RequestSet>` closes the outer container.
`isValid()` is the check that decides whether the request is acceptable. If the shape does not match, the request is rejected and nothing further happens. That is why the researchers had to build a request that looks exactly right.
{{media:7}}
The screenshot shows the request form that passes `isValid()`.
### Step 5: choosing the service handler
`handleRequest()` then calls `getServiceHandler()` with the `serviceId` parameter, which can be fully manipulated. A parameter is a value the caller supplies, and "fully manipulated" means the attacker controls it completely. This is the first sign of trouble: user-supplied input decides which internal code runs.
{{media:8}}
The screenshot shows `getServiceHandler()` being called with the `serviceId` parameter.
There are four types of service handler, selected by four `svcid` values:
| Handler | svcid |
| --- | --- |
| NamingService | `com.iplanet.am.naming` |
| AuthXMLHandler | `auth` |
| SessionRequestHandler | `session` |
| PolicyXMLHandler | `policy` |
The write-up focuses on `SessionRequestHandler`, which is the one selected by `svcid="session"` in the request above.
{{media:9}}
The screenshot shows the four `svcid` values and their handlers.
### Step 6: SessionRequestHandler.process()
After the session handler is determined, `AgentRequestHandler.handleRequest()` calls the given handler's `process()`, here `SessionRequestHandler.process()`. That method takes the data from the XML tag named `Request` and parses it again as XML. Parsing the same text twice is unusual, and it matters: the inner content is treated as a fresh document, so the rules applied to the outer document do not automatically apply to the inner one.
{{media:10}}
The screenshot shows `SessionRequestHandler.process()` taking the `Request` tag content and parsing it again.
### Step 7: the requester attribute
In `SessionRequestParser.parseXML()`, if the incoming XML request contains an attribute named `requester`, its data is base64 decoded and set as a property named `Requester`. Base64 is a way of writing arbitrary bytes as plain text using only letters, digits and a couple of symbols, so binary data can travel inside a text document. Decoding turns that text back into the original bytes. Setting a property means storing the result on an object so later code can read it.
{{media:11}}
The screenshot shows the `requester` attribute being base64 decoded and stored as `Requester`.
At this point the request data looks like this:
{{media:12}}
The screenshot shows the request data at this stage.
The authors note that although this sounds straightforward when reading the document, completing this data is not easy in practice. In other words, getting every attribute and every layer right so the request passes all the checks took real effort.
### Step 8: into the master controller
After the XML data has been parsed, the second part begins: `PBLFlowManager.handleBaseEvent()` calls `delegateToMasterController()`, then `MasterController.process()`, `MasterController.processRequest()` and `OpenssoEngineController.processEvent()`. The call frame is shown below. A call frame is simply the chain of method calls, one leading to the next, like a list of who handed the task to whom.
{{media:13}}
The screenshot shows the call frame from `delegateToMasterController()` down to `OpenssoEngineController.processEvent()`.
The `OpenssoEngineController` is determined by the `EventHint` mentioned earlier. So the event name chosen back in step 2 decides which controller handles the request now.
### Step 9: the OPENSSO_CHECK_VALID_SESSION branch
In `OpenssoEngineController.processEvent()` a switch statement handles each event type. A switch statement is a programming construct that picks one branch out of several based on a value, like a railway junction sending a train down one track. In this case the event is `OPENSSO_CHECK_VALID_SESSION`.
{{media:14}}
The screenshot shows the switch statement and the `OPENSSO_CHECK_VALID_SESSION` branch.
Following that branch leads to a call to `OpenssoEngineController.unmarshal()` with the given `requester` attribute. Unmarshalling, also called deserialisation, is the reverse of turning an object into bytes: it takes bytes and rebuilds the original object in memory. Serialisation is how programs save or send objects; deserialisation brings them back. The danger is that rebuilding an object can run code as part of the rebuilding, if the bytes were crafted by an attacker.
{{media:15}}
The screenshot shows the call to `unmarshal()` with the `requester` attribute.
The content of the `unmarshal()` method is shown below.
{{media:16}}
The screenshot shows the body of the `unmarshal()` method.
### Step 10: the deserialisation sink
If the `requester` attribute has the form `object:<base64 data>`, the data is deserialised directly, without any filtering. That is the sink of the vulnerability. A sink is the place where untrusted input finally causes harm; everything before it is just the path the input travels. The `object:` prefix is a marker telling the code "the rest of this value is a serialised object, please rebuild it". No filtering means nothing checks whether the object is safe before it is rebuilt. The request looks like this:
{{media:17}}
The screenshot shows the request that reaches the sink.
### Step 11: the gadget chain
Rebuilding an object is not automatically dangerous. It becomes dangerous when the attacker can choose an object whose own code does something harmful when it is rebuilt. A gadget chain is a sequence of existing classes in the product, each harmless on its own, linked together so that rebuilding them triggers a chain of actions ending in code execution. It is like dominoes: each tile is ordinary, but knocking the first one down runs the whole line.
OAM is built on top of WebLogic, Oracle's Java application server, and OAM's classloader also contains WebLogic's libraries. A classloader is the part of Java that finds and loads classes when they are needed. Because WebLogic's classes are available inside OAM, a WebLogic gadget chain can be used to get code execution. After trying many old gadget chains, the authors found that the CVE-2020-14644 gadget chain was still not blocked by the global serialisation filter, and the final PoC used it to get code execution. A global serialisation filter is a defence that inspects objects during deserialisation and rejects classes that should not be there; here it did not block this particular chain. CVE-2020-14644 is the public identifier of a previously known vulnerability whose gadget chain was reused.
The screenshot shows the final proof of concept.
## Root cause
The `requester` attribute of the inner XML request is base64 decoded and passed to `OpenssoEngineController.unmarshal()`. When the value has the `object:` prefix, the decoded bytes are deserialised without filtering. Because OAM runs on WebLogic and its classloader includes WebLogic libraries, a WebLogic gadget chain (CVE-2020-14644) can be used to reach code execution. The global serialisation filter in place did not block that chain.
In everyday terms: a form field that should only ever contain a simple value is allowed to contain a whole object, and the server obediently rebuilds whatever object the sender names, using a toolbox that includes dangerous tools.
## Impact
An unauthenticated attacker who can reach the endpoint can exploit the vulnerability. Unauthenticated means no login is required. The authors state it may give access to the OAM server, allow creating any user with any privileges, or get code execution on the victim's server. The authors demonstrated the PoC on OAM 12c.
There are important limits. After the authors applied the latest patch to their OAM 12c instance, the PoC was no longer exploitable. Reviewing the patch and older versions showed Oracle had not fixed the vulnerability: the recent OAM 12c patch dropped support for OpenSSO, which removed the `/oam/server/opensso/sessionservice` entrypoint by accident. The vulnerable entrypoint still existed in a fully updated OAM 11g. In OAM 11g the CVE-2020-14644 gadget chain does not exist, so more work is needed to build a working gadget chain; the authors say they will cover that separately.
The authors also note that WebLogic 10.3.6 and OAM 11g are end-of-life, with no patches after 1 January 2022, so in their words there is no patch for this pre-auth RCE.
## Fix
The report does not describe an official fix for the vulnerability. The only change observed was incidental: the OAM 12c patch that dropped OpenSSO support removed the entrypoint, which stopped the PoC on that instance. The vulnerable entrypoint remained in a fully updated OAM 11g. The authors recommend applying the patch, and separately note the end-of-life status of OAM 11g and WebLogic 10.3.6.
## Variants to test
These are the checks a defender or researcher would run to see whether a given deployment is affected. Each one is a question with a clear yes or no answer.
1. Check whether `/oam/server/opensso/sessionservice` responds on an OAM deployment.
2. Send a `RequestSet` with `svcid="session"` and an inner `Request` containing a `requester` attribute.
3.
4.
5.
## Glossary
- **0day / zero-day**: a vulnerability the vendor does not know about yet, so no patch exists.
- **Attribute**: a named value attached to a tag in XML, such as `svcid="session"`.
- **Base64**: a way of writing arbitrary bytes as plain text using letters, digits and a couple of symbols, so binary data can travel inside text.
- **Call frame**: the chain of method calls, one leading to the next.
- **Class**: a piece of Java code that defines an object's behaviour and data.
- **Classloader**: the part of Java that finds and loads classes when they are needed.
- **Code execution**: the attacker's instructions running on the victim's machine.
- **CVE**: a public identifier for a known vulnerability, such as CVE-2020-14644.
- **Deserialisation / unmarshalling**: rebuilding an object in memory from bytes; the reverse of serialisation.
- **Domain**: a configured instance of a product such as OAM.
- **Endpoint**: a specific web address on a server that accepts requests.
- **End-of-life**: a product state where the vendor no longer issues patches.
- **Event**: a named action the system knows how to perform, here `OPENSSO_CHECK_VALID_SESSION`.
- **EventHint**: an object created from an event name and used as a lookup key.
- **Gadget chain**: a sequence of existing classes, each harmless alone, linked so that rebuilding them triggers code execution.
- **Global serialisation filter**: a defence that inspects objects during deserialisation and rejects classes that should not be there.
- **Handler / request handler**: the object that deals with a particular kind of request.
- **HTTP POST**: the method a client uses to submit data to a server.
- **Instance**: one running copy of a product.
- **isValid()**: the check that decides whether a request is acceptable.
- **Map**: a lookup table that returns a value for a given key.
- **Method**: a named block of code inside a class.
- **OAM (Oracle Access Manager)**: Oracle's single sign-on product.
- **OpenSSO**: the older single sign-on codebase whose endpoint is used here.
- **Parameter**: a value supplied by the caller.
- **Parse**: read text and turn it into data the program can work with.
- **Patch**: the vendor's update that closes a vulnerability.
- **Payload**: the actual content carried inside a request.
- **PoC (proof of concept)**: a small demonstration that a security problem really works.
- **Pre-authentication**: before any login, so no credentials are needed.
- **Property**: a value stored on an object so later code can read it.
- **RCU (Repository Creation Utility)**: a tool that prepares the database OAM stores its data in.
- **RCE (remote code execution)**: an attacker on the network makes the victim's machine run their code.
- **Request**: a message a client sends to a server.
- **Serialisation**: turning an object into bytes so it can be saved or sent.
- **Servlet**: a Java program that runs inside a web server and answers web requests.
- **Session**: the state of being logged in.
- **Sink**: the place where untrusted input finally causes harm.
- **SSO (single sign-on)**: logging in once and using many applications without logging in again.
- **Switch statement**: a programming construct that picks one branch out of several based on a value.
- **URI**: the part of a web address that identifies the resource.
- **Validate**: check that data has the expected shape before trusting it.
- **WebLogic**: Oracle's Java application server, which OAM runs on top of.
- **XML**: a text format for structured data, where information is wrapped in tags.