Skip to content
Access control Write-up Beginner

How I Accessed Microsoft’s ServiceNow — Exposing ALL Micr

A Microsoft ServiceNow instance had SSO enabled but not enforced, allowing a leaked credential to authenticate. The attacker accessed thousands of support ticket attachments and over 250,000 employee email addresses via the REST API.

moblig Follow

Published on medium.com

To start, let’s discuss what stealer logs are. They are data files harvested by malicious software, commonly known as “Infostealers,” the subsequent data gathered after the attack is referred to as “Stealer Logs.” Infostealers can target different types of data depending on the specific malware deployed.

Moblig, on medium.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.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

The attacker could access sensitive internal support data and employee personal information, though the account was not high-privileged.

What the attacker needed

A leaked credential for the ServiceNow instance; SSO not enforced on the instance

The fix

The issue was fixed by enforcing SSO, as confirmed by MSRC.

How it was found

  1. Search for exposed credentials belonging to Microsoft on a stealer-log search engine.
  2. Find a credential for microsoft.service-now.com and notice the /login.do endpoint indicating SSO was not enforced.
  3. Log in with the credential and confirm authentication despite a broken UI.
  4. Use the ServiceNow REST API to access the sys_user and attachment endpoints.
  5. Retrieve thousands of support ticket attachments and over 250,000 employee email addresses.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Single sign-on (SSO) is a way to log in once and access many services. Here, the company allowed a backup login page that did not use SSO, so a stolen password could still work. The attacker used that stolen password to read internal support files and employee emails.

What is Access control?

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.

More by moblig

View all

3 more disclosed reports, best first.

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.