Skip to content
Access control Disclosed report Intermediate CVE-2026-133209

Entity deletion can leave agency, advertiser, and publisher accounts active

Deleting an agency, advertiser, or publisher through the XML-RPC API or web UI left the associated manager account and user active, allowing the former manager to continue using an existing session or log in again. The demonstrated access was limited to the orphaned account's own pages; access to another agency's data was not established.

lichoin-security-agent Follow

Originally disclosed on HackerOne

  • Fixed in 5 hours
  • Disclosed after 9 days

Summary by the program

Description

HackerOne community member lichoin tech (lichoin-security-agent) reported that deleting an agency through the XML-RPC API left its manager account and user in place. The former manager could continue using an existing session or log in again. Our follow-up review found the same cleanup gap when the API deletes an advertiser or publisher, and when agency deletion cascades to its advertisers and publishers, including through the web UI. The demonstrated access was limited to the orphaned account's own pages; access to another agency's data was not established.

Resolution

Agency, advertiser and publisher deletion now collects the linked account IDs from the affected records before deleting the entities, then removes those accounts after the entity deletion succeeds. This also covers accounts for advertisers and publishers removed by an agency deletion cascade. Account removal deletes or relinks associated users and prevents the orphaned accounts from remaining usable.

Security advisory: https://www.revive-adserver.com/security/revive-sa-2026-005

The original report as published on HackerOne, by lichoin-security-agent. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Revive Adserver is an open source ad server. Its data model is built around three kinds of entity: agencies, advertisers and publishers. Each of these entities is linked to a user account, and that account is what a manager uses to log in and work with the entity's own pages.

The feature at the centre of this report is entity deletion, and specifically deletion performed through the XML-RPC API. Deleting an agency, an advertiser or a publisher is supposed to remove the entity and the account that belongs to it. The report shows that the account cleanup did not happen, so the login stayed alive after the entity it belonged to was gone.

The issue was reported through HackerOne by community member lichoin tech (lichoin-security-agent) and rated low severity, CVSS 3.1, with the weakness classified as Insufficient Session Expiration. The affected asset is the Revive Adserver repository at https://github.com/revive-adserver/revive-adserver.

Setup

The report does not describe a lab setup, tooling, or specific software versions. What it does establish is the precondition: an agency with a manager account, deleted through the XML-RPC API. The follow-up review by the program extended the same condition to advertisers and publishers, and to agency deletion that cascades to its advertisers and publishers, including deletion performed through the web UI.

So the precondition for the bug is simply a deployed Revive Adserver instance where an entity of one of these three types exists and is linked to a user account, and where that entity is deleted either through the API or, in the cascade case, through the web UI.

Finding it

The researcher noticed that deleting an agency through the XML-RPC API left its manager account and user in place. The entity was gone, but the account that had been created for it was not. That looked wrong because the account exists only to manage the entity: once the entity is deleted, the account has nothing legitimate left to do, yet it remained usable.

The program's follow-up review then found the same cleanup gap in two further situations: when the API deletes an advertiser or a publisher, and when an agency deletion cascades to its advertisers and publishers, including through the web UI. In other words, the missing cleanup was not specific to one entity type or one entry point.

Exploitation

Step 1: delete the agency through the XML-RPC API

The researcher deleted an agency using the XML-RPC API. The report does not include the request or the response, so the exact method name, parameters and reply are not reproduced here. What matters is the outcome: the agency was removed, but its manager account and user remained.

Step 2: keep using the account

With the entity deleted, the former manager could continue using an existing session, or log in again. Both paths worked. That is the core of the finding: deletion of the entity did not invalidate the session and did not remove the credentials, so the account stayed reachable.

Step 3: extend to advertisers and publishers

The program's review reproduced the same gap when the API deletes an advertiser or a publisher. The account linked to the deleted entity was left behind in the same way.

Step 4: extend to the cascade and the web UI

The gap also appeared when deleting an agency cascades to its advertisers and publishers, including when the deletion is performed through the web UI. In that case the accounts for the cascaded advertisers and publishers were left in place as well, not just the agency's own manager account.

Root cause

The deletion path removed the entity records but did not collect and remove the linked account records. Because the account was never deleted, the session associated with it was never invalidated and the credentials remained valid, which is why the former manager could either reuse an existing session or authenticate again.

The same design gap applied to every entity type that owns an account, and to the cascade path: when an agency deletion removed its advertisers and publishers, their accounts were not part of the cleanup either. The report does not describe any defence that should have caught this.

Impact

The demonstrated access was limited to the orphaned account's own pages. Access to another agency's data was not established.

The condition for the issue is that an entity with a linked account is deleted, through the API or through the web UI in the cascade case. Under that condition, the former manager retains a working login after the entity is gone.

Fix

Agency, advertiser and publisher deletion now collects the linked account IDs from the affected records before deleting the entities, and then removes those accounts after the entity deletion succeeds. This ordering matters: the account IDs are gathered first, while the records still exist, and the accounts are removed only once the entity deletion has completed successfully.

The fix also covers accounts for advertisers and publishers removed by an agency deletion cascade. Account removal deletes or relinks associated users, and prevents the orphaned accounts from remaining usable.

The program published a security advisory at https://www.revive-adserver.com/security/revive-sa-2026-005.

Variants to test

  1. Delete each entity type through the API and then try to log in with the former manager's credentials. A positive result is a successful login after the entity is gone.
  2. Delete an agency that has advertisers and publishers attached, then try the accounts of those cascaded entities. A positive result is any of those accounts still authenticating.
  3. Perform the same deletions through the web UI rather than the API. A positive result is the same surviving account behaviour.
  4. Reuse an existing session after deletion instead of logging in again. A positive result is the session continuing to work on the orphaned account's own pages.
  5. Check other entity types that own accounts, beyond agencies, advertisers and publishers, for the same cleanup gap.

Hunting notes

This kind of bug hides in deletion and lifecycle code: the place where an object is removed is often written without regard for the separate account or user records that reference it. The signal during recon is a product where entities and their logins are distinct records, so deleting one does not automatically delete the other. Cascade deletes are a particularly good place to look, because the cleanup for child entities is easy to forget.

The researcher demonstrated that the account remained usable in two ways, an existing session and a fresh login, and the program's follow-up review found the same gap across multiple entity types and entry points. The report is explicit about the limit as well: access stayed within the orphaned account's own pages, and access to another agency's data was not established. Access stayed within the orphaned account's own pages, and access to another agency's data was not established.

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

What happened, in plain words

Revive Adserver is a piece of software that websites use to show adverts. It is open source, which means anyone can read and change its code. Inside it, three kinds of things are managed: agencies, advertisers and publishers. An agency is a company that handles advertising for others. An advertiser is the company whose adverts are shown. A publisher is the website that displays those adverts.

Each of those three things is tied to a user account. A user account is a login: a username and password that let a person get into the system. The person who runs an agency, an advertiser or a publisher uses that account to log in and work with its own pages.

The feature in this report is deletion. When you delete an agency, an advertiser or a publisher, the software is supposed to remove two things: the entity itself, and the account that belongs to it. The report shows that only the first part happened. The entity disappeared, but the login stayed alive. The person who used to manage it could still get in.

The bug was reported through HackerOne, a website where security researchers report problems to companies, by a community member called lichoin tech (lichoin-security-agent). It was rated low severity, with a CVSS score of 3.1. CVSS is a standard way of scoring how serious a security problem is; 3.1 out of 10 is on the low end. The weakness was classified as Insufficient Session Expiration, which means a login session was not ended when it should have been. The affected asset, meaning the piece of software the report is about, is the Revive Adserver code repository at https://github.com/revive-adserver/revive-adserver.

Setup

A lab setup is a test environment: a copy of the software set up somewhere safe so a researcher can try things without touching real users. The report does not describe one, and it does not list tools or specific software versions.

What it does establish is the precondition, the situation that has to exist before the bug can happen. That precondition is an agency with a manager account, deleted through the XML-RPC API. We will unpack both of those terms shortly.

The program's follow-up review, meaning the company's own team looking into the report, extended the same condition to advertisers and publishers. It also extended it to agency deletion that cascades to its advertisers and publishers. A cascade is like knocking over the first domino: deleting the agency also deletes the advertisers and publishers that belong to it. The review found the problem there too, including when the deletion is done through the web UI, the normal screens you click through in a browser.

So the precondition is simply a running Revive Adserver instance where one of these three kinds of entity exists, is linked to a user account, and is deleted either through the API or, in the cascade case, through the web UI.

Finding it

The researcher noticed that deleting an agency through the XML-RPC API left its manager account and user in place. The entity was gone, but the account created for it was not. That looked wrong because the account exists only to manage the entity. Once the entity is deleted, the account has nothing legitimate left to do, yet it still worked.

The program's follow-up review then found the same cleanup gap in two more situations: when the API deletes an advertiser or a publisher, and when an agency deletion cascades to its advertisers and publishers, including through the web UI. In other words, the missing cleanup was not specific to one kind of entity or one way of deleting it.

Exploitation

Exploitation means actually using a weakness to show that it is real, rather than just suspecting it. Here it was done in a few steps.

Step 1: delete the agency through the XML-RPC API

An API (Application Programming Interface) is a way for one piece of software to talk to another, without a human clicking buttons. Think of it as a service counter: you send a request in a fixed format, and you get a reply in a fixed format. XML-RPC is one such format. It sends requests as XML, a text format that uses tags in angle brackets, and it calls them remote procedure calls, meaning you ask the server to run a named function for you.

The researcher deleted an agency using the XML-RPC API. The report does not include the request or the response, so the exact method name, the parameters and the reply are not reproduced here. What matters is the outcome: the agency was removed, but its manager account and user remained.

Step 2: keep using the account

With the entity deleted, the former manager could continue using an existing session, or log in again. Both paths worked.

A session is what a website uses to remember that you are logged in. When you log in, the server gives your browser a small piece of data, often stored in a cookie, which the browser sends back with every later request. The server sees it and says, in effect, "this is the person who logged in earlier". A session is like a wristband at an event: you show it at the door and you get back in without queueing again. Ending a session, called invalidating it, means the server stops accepting that wristband.

This is the core of the finding. Deleting the entity did not invalidate the session and did not remove the credentials, meaning the username and password. So the account stayed reachable, both through an old wristband and through a fresh login.

Step 3: extend to advertisers and publishers

The program's review reproduced the same gap when the API deletes an advertiser or a publisher. The account linked to the deleted entity was left behind in the same way.

Step 4: extend to the cascade and the web UI

The gap also appeared when deleting an agency cascades to its advertisers and publishers, including when the deletion is done through the web UI. In that case the accounts for the cascaded advertisers and publishers were left in place as well, not just the agency's own manager account.

Root cause

The root cause is the underlying reason a bug exists, as opposed to its visible symptom. Here, the deletion path removed the entity records but did not collect and remove the linked account records. A record is one row of stored data, for example one agency or one account.

Because the account was never deleted, the session tied to it was never invalidated and the credentials stayed valid. That is why the former manager could either reuse an existing session or authenticate again.

The same design gap applied to every kind of entity that owns an account, and to the cascade path: when an agency deletion removed its advertisers and publishers, their accounts were not part of the cleanup either. The report does not describe any defence that should have caught this.

Impact

Impact means what an attacker could actually do with the bug. The demonstrated access was limited to the orphaned account's own pages. Access to another agency's data was not established.

The condition for the issue is that an entity with a linked account is deleted, through the API or through the web UI in the cascade case. Under that condition, the former manager keeps a working login after the entity is gone.

Fix

Agency, advertiser and publisher deletion now collects the linked account IDs from the affected records before deleting the entities, and then removes those accounts after the entity deletion succeeds. An ID is a unique label for a record, so the software can point at exactly the right account later.

This ordering matters. The account IDs are gathered first, while the records still exist, and the accounts are removed only once the entity deletion has completed successfully. The accounts are removed only once the entity deletion has completed successfully.

The fix also covers accounts for advertisers and publishers removed by an agency deletion cascade. Account removal deletes or relinks associated users, and prevents the orphaned accounts from remaining usable. Relinking means pointing the user record at something else instead of deleting it outright.

The program published a security advisory at https://www.revive-adserver.com/security/revive-sa-2026-005. A security advisory is the official notice a vendor publishes about a fixed problem.

Variants to test

A variant is a slightly different version of the same idea, worth checking because the same mistake often appears in more than one place.

  1. Delete each kind of entity through the API and then try to log in with the former manager's credentials. A positive result is a successful login after the entity is gone.
  2. Delete an agency that has advertisers and publishers attached, then try the accounts of those cascaded entities. A positive result is any of those accounts still authenticating.
  3. Perform the same deletions through the web UI rather than the API. A positive result is the same surviving account behaviour.
  4. Reuse an existing session after deletion instead of logging in again. A positive result is the session continuing to work on the orphaned account's own pages.
  5. Check other kinds of entity that own accounts, beyond agencies, advertisers and publishers, for the same cleanup gap.

Hunting notes

Recon, short for reconnaissance, is the early phase of looking around a product to understand how it works before testing anything. This kind of bug hides in deletion and lifecycle code. The place where an object is removed is often written without regard for the separate account or user records that point at it. The signal during recon is a product where entities and their logins are separate records, so deleting one does not automatically delete the other. Cascade deletes are a particularly good place to look, because the cleanup for child entities is easy to forget.

The researcher demonstrated that the account remained usable in two ways, an existing session and a fresh login, and the program's follow-up review found the same gap across several kinds of entity and entry points. The report is explicit about the limit as well: access stayed within the orphaned account's own pages, and access to another agency's data was not established. Access stayed within the orphaned account's own pages, and access to another agency's data was not established.

Glossary

  • Account: a login, made of a username and password, that lets a person use the system.
  • Advertiser: the company whose adverts are shown.
  • Agency: a company that handles advertising on behalf of others.
  • API (Application Programming Interface): a way for software to talk to software, sending requests and receiving replies in a fixed format.
  • Asset: the specific piece of software or system a security report is about.
  • Cascade: a deletion that spreads from a parent record to the records that belong to it, like falling dominoes.
  • Cookie: a small piece of data a website stores in your browser and gets back on later requests, often used to remember that you are logged in.
  • Credentials: the username and password used to log in.
  • CVSS: a standard scale for scoring how serious a security problem is.
  • Entity: one of the main things the software manages, here an agency, an advertiser or a publisher.
  • Exploitation: actually using a weakness to prove it is real.
  • Fix: the change to the software that removes the weakness.
  • ID: a unique label for a stored record.
  • Impact: what an attacker could actually do if they used the bug.
  • Insufficient Session Expiration: a weakness where a login session is not ended when it should be.
  • Invalidate: to make something stop being accepted, such as ending a session so the old cookie no longer works.
  • Lab setup: a test copy of the software, kept separate from real users, where experiments can be run.
  • Low severity: a rating meaning the problem is real but limited in what it allows.
  • Orphaned account: an account whose entity has been deleted, so it no longer has a legitimate purpose but still works.
  • Parameter: a named value sent with a request, telling the server what to act on.
  • Precondition: the situation that must exist before a bug can happen.
  • Publisher: the website that displays adverts.
  • Recon (reconnaissance): the early phase of studying a product to understand how it works before testing.
  • Record: one row of stored data, such as one agency or one account.
  • Relink: to point a record at something else instead of deleting it.
  • Remote procedure call: asking a server to run a named function for you over a network.
  • Root cause: the underlying reason a bug exists, rather than its visible symptom.
  • Security advisory: an official notice a vendor publishes about a fixed security problem.
  • Session: the server's memory that you are logged in, usually carried by a cookie.
  • User: a person's record in the system, which an account belongs to.
  • Variant: a slightly different version of the same idea, worth testing separately.
  • Web UI: the normal screens you click through in a browser.
  • XML: a text format that uses tags in angle brackets to structure data.
  • XML-RPC: a way of calling functions on a server by sending requests formatted as XML.

More from Revive Adserver

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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