
Scans ServiceNow instances for widget-simple-list plugin misconfigurations that expose data via the API, supporting single URLs, URL lists, fast-check, and proxy options.
This tool scans for misconfigurations in the ServiceNow widget-simple-list plugin. It checks whether the target instance is vulnerable to data exposure risks due to misconfigured settings.
For an in-depth understanding of the attack technique and exploitation, consult the technical details available here.
requestsYou can install the required libraries using pip:
pip install requests
servicescan.py.python3 servicescan.py --url https://redacted.service-now.com
python3 servicescan.py --file urls.txt
Perform a fast check that only scans for the table kb_knowledge using the --fast-check argument:
python3 servicescan.py --url https://redacted.service-now.com --fast-check
To use a proxy server, use the --proxy option:
python3 servicescan.py --url https://redacted.service-now.com --proxy http://host:port
If the target instance is found to be vulnerable, you'll receive an output similar to the following:
https://redacted.service-now.com/api/now/sp/widget/widget-simple-list?t=incident is EXPOSED, found at least 167 items
https://redacted.service-now.com/api/now/sp/widget/widget-simple-list?t=oauth_entity is EXPOSED, found at least 3 items
Headers to forge requests:
X-UserToken: 76a458ffdbf5[REDACTED]0c02ba13393b764
Cookie: JSESSIONID=7EB7[REDACTED]B5D07E; glide_user_route=glide.4884750d[REDACTED]ca0436e4; glide_node_id_for_js=3143935013eaa5a1e[REDACTED]8a698b419c40837dfce63002d5;
Note: A table may be public but not necessarily expose sensitive information. Always verify that the disclosed data is indeed confidential before taking any action.
X-UserToken header.This tool is intended for educational and ethical testing purposes only. The authors are not responsible for any misuse or damage caused by this tool.