Detect Oracle E-Business Suite exposure to CVE-2026-101767 (Application Object Library, CVSS 9.8): read-only DB patch check and network exposure probe
Find Oracle E-Business Suite instances exposed to CVE-2026-101767: a flaw in Oracle Application Object Library (component Core) that lets an unauthenticated attacker take over EBS over HTTP. CVSS 3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). Affected: EBS 12.2.3 to 12.2.15. Fixed in the Oracle Critical Patch Update, October 2026 (published 20 Oct 2026). CISA rates it automatable with total technical impact.
Both scripts only read. Neither sends exploit traffic.
| Script | Runs on | What it tells you |
|---|---|---|
ebs_cve_2026_101767_check.sh | Any Unix host with SQL*Plus that can reach the EBS database | EBS release, and whether the October 2026 CPU patches are in AD_BUGS |
ebs_exposure_probe.sh | Any Unix host with curl | Which EBS login pages can be reached from that network location |
# Oracle wallet (recommended: no password is handled by the script)
./ebs_cve_2026_101767_check.sh "Acme Payments (Prod)" "eu-west-1" /@EBSPROD
# User and password: asked for on the terminal, or read from the first line of stdin
./ebs_cve_2026_101767_check.sh "Acme Payments (Prod)" "eu-west-1" apps_ro@ebsdb01:1521/EBSPROD
It runs two SELECTs: the release from APPS.FND_PRODUCT_GROUPS, then the configured CPU patch numbers in APPS.AD_BUGS. Use any account with SELECT on those two tables. Set EBS_SCHEMA if they are not in APPS.
Oracle publishes the EBS patch numbers for this CPU only in My Oracle Support note KA923 ("Oracle E-Business Suite Release 12 Critical Patch Update Knowledge Document (October 2026)"), which needs a support login. Copy them into cpu_patches.conf:
12.2.3-12.2.15|<patch number>[,<patch number>...]
Use one line per release range if KA923 lists different patches per release. Until the file has patch numbers, every release in the affected range is reported as AFFECTED_CPU_UNVERIFIED. The tool never assumes a system is patched.
cpu_patches.conf decides what is reported as PATCHED. The check refuses the file if it is a symbolic link, is writable by group or others, or is owned by anyone other than you or root.
CSV columns: account_name, account_region, target, db_name, ebs_release, cve, status, missing_patches, note
| Status | Meaning | Exit |
|---|---|---|
PATCHED | Every configured CPU patch is in AD_BUGS. Confirm the online patching cycle completed cutover. | 0 |
AFFECTED | Release in range and at least one CPU patch is missing (listed, first 20). | 2 |
AFFECTED_CPU_UNVERIFIED | Release in range, no patch numbers configured yet. | 2 |
AT_RISK_UNSUPPORTED | Release below 12.2.3: not assessed by Oracle, no CPU available. Upgrade or isolate. | 2 |
REVIEW_NO_FIX_DATA | Release above 12.2.15: not covered by the advisory. | 1 |
UNKNOWN_VERSION | Release could not be read. | 1 |
ERROR | Login or query failed (the Oracle error is in note). | 3 |
Other exit codes: 64 bad usage, 65 bad or unsafe cpu_patches.conf, 69 SQL*Plus not found.
To check many databases, run it once per connect string and append the rows (skip the header with tail -n +2).
./ebs_exposure_probe.sh "Acme Payments (Prod)" "eu-west-1" targets.txt
targets.txt holds one base URL per line: https://ebs.example.com or http://10.0.0.5:8000. The scheme is required, and paths, credentials and other protocols are rejected. Text after # is a comment. Run it from each network zone you care about (internet, partner, office) to see where EBS can be reached from.
It sends one GET /OA_HTML/AppsLogin per target. It does not follow redirects or log in. TLS certificates are verified, and a failure is reported rather than bypassed. ~/.curlrc is ignored. The https_proxy and http_proxy environment variables are honoured.
| Status | Meaning | Exit |
|---|---|---|
EBS_LOGIN_REACHABLE | EBS login answers from here. Run the database check, and restrict access if it is internet-facing. | 1 |
TLS_UNVERIFIED | Port answers but the certificate check failed. | 1 |
INVALID_TARGET | Line is not scheme://host[:port]. | 1 |
NO_EBS_SIGNAL | HTTP answer without EBS login signs (does not prove absence). | 0 |
UNREACHABLE | No HTTP answer from here. | 0 |
Reachable does not mean vulnerable. Only the database check confirms the patch level.
AFFECTED, AFFECTED_CPU_UNVERIFIED or AT_RISK_UNSUPPORTED on an instance whose login is EBS_LOGIN_REACHABLE from the internet: patch now, or remove internet access until patched.UNKNOWN_VERSION, ERROR, TLS_UNVERIFIED, REVIEW_NO_FIX_DATA.The CPU also fixes 193 other EBS issues (30 more that need no login), so apply the full October 2026 CPU, plus the database and Fusion Middleware CPU patches Oracle lists for EBS.
The CSV lists your unpatched internet-facing systems. Store it like any other sensitive security finding. Both scripts create private temporary files (mode 700) and remove them on exit, but the CSV file is created by your own shell redirect with your umask.
tests/run_tests.sh runs 111 unit, penetration and stress tests against a fake SQL*Plus and a local stub web server (SH=dash|bash|ksh|sh tests/run_tests.sh). See TEST-REPORT.xlsx for results, shells covered and limitations. The scripts have not been run against a real EBS database.
Copyright (c) 2026 Shivraj Mudaliyar. Released under the MIT License.
This is a personal project, provided "as is", without warranty or guarantee of any kind, express or implied, including fitness for a particular purpose. It is not affiliated with, endorsed by or supported by Oracle or any employer. Tested only as described in TEST-REPORT.xlsx (not against a real EBS database). A PATCHED result is not a guarantee that a system is secure: confirm against Oracle's own advisory and My Oracle Support note KA923, and use it only on systems you are authorised to assess. You run it at your own risk.