From 2a9dc3802cf5e81e371154398bbdc6eacb256934 Mon Sep 17 00:00:00 2001 From: GangGreenTemperTatum <104169244+GangGreenTemperTatum@users.noreply.github.com> Date: Fri, 14 Aug 2026 14:05:27 -0400 Subject: [PATCH 1/2] feat(web-security): add sqli-to-rce-escalation, math-rendering-macro-injection skills and ORB service-worker XS-Leak New skills and technique coverage from referenced security research: - sqli-to-rce-escalation: escalate a confirmed SQL injection into OS command execution or a planted webshell. DBMS-complete privilege preflight (MSSQL sysadmin, PostgreSQL rolsuper / pg_execute_server_program, MySQL FILE + secure_file_priv, Oracle DBA, embedded Java owners) and OS-reach primitives (xp_cmdshell, OLE Automation, COPY TO PROGRAM, pg_cron non-stacked ORDER BY reach, INTO OUTFILE/DUMPFILE UDF, Derby SYSCS_EXPORT_QUERY, H2 CREATE ALIAS). Covers MSSQL Msg 574 user- transaction COMMIT breakout, second-order write/read split, terminator and URL-encoding traps. Fills the gap left by blind-sqli-extraction, which stops at data read. - math-rendering-macro-injection: abuse user-controlled TeX macros in MathJax/KaTeX renderers -- newcommand-package operator shadowing (priority -1 CommandMap, no base lookup), KaTeX \def/\href trust and \html* sinks, macro-expansion DoS (maxMacros / maxExpand), with content-integrity/UI-redress and link-injection impact framing and remediation configs. - browser-side-channel: add ORB status-code XS-Leak revived via a service-worker fetch proxy that rewrites Sec-Fetch-Dest to "empty", turning ORB network errors into blank 200s so the script onload/onerror status-code oracle works again in modern Chrome/Firefox. Bumps web-security to 1.9.0 (81 skills). --- capabilities/web-security/capability.yaml | 4 +- .../skills/browser-side-channel/SKILL.md | 48 ++++- .../math-rendering-macro-injection/SKILL.md | 98 +++++++++++ .../skills/sqli-to-rce-escalation/SKILL.md | 166 ++++++++++++++++++ 4 files changed, 313 insertions(+), 3 deletions(-) create mode 100644 capabilities/web-security/skills/math-rendering-macro-injection/SKILL.md create mode 100644 capabilities/web-security/skills/sqli-to-rce-escalation/SKILL.md diff --git a/capabilities/web-security/capability.yaml b/capabilities/web-security/capability.yaml index 2e24581..ad12cd0 100644 --- a/capabilities/web-security/capability.yaml +++ b/capabilities/web-security/capability.yaml @@ -1,8 +1,8 @@ schema: 1 name: web-security -version: "1.8.0" +version: "1.9.0" description: > - Web application penetration testing with 70+ attack technique playbooks + Web application penetration testing with 80+ attack technique playbooks covering request smuggling, cache poisoning, SSRF, SSTI, DOM vulnerabilities, authentication bypasses, parser differentials, AEM/Sling exploitation, GraphQL, OAuth, and client-side attacks. diff --git a/capabilities/web-security/skills/browser-side-channel/SKILL.md b/capabilities/web-security/skills/browser-side-channel/SKILL.md index 0ce1d49..49ed5a3 100644 --- a/capabilities/web-security/skills/browser-side-channel/SKILL.md +++ b/capabilities/web-security/skills/browser-side-channel/SKILL.md @@ -1,6 +1,6 @@ --- name: browser-side-channel -description: Browser-based side channel attacks for cross-origin data leaks via connection pool exhaustion, ETag oracles, and timing differentials. Use when direct XSS fails but cross-origin information leakage is needed. +description: Browser-based side channel attacks for cross-origin data leaks via connection pool exhaustion, ETag oracles, timing differentials, and ORB status-code XS-Leaks revived through service-worker destination rewriting. Use when direct XSS fails but cross-origin information leakage is needed. --- # Browser Side Channel Attacks @@ -86,6 +86,52 @@ Cached resource loads in ~1-2ms vs network fetch at 50ms+. Reveals browsing hist **Checkpoint:** Clear cache and re-measure to confirm delta is reproducible. Modern browsers partition cache by top-level site -- this only works for same-site resources. +### ORB Status-Code XS-Leak via Service-Worker Destination Rewrite + +Classic status-code XS-Leak: load a cross-origin URL as a `