rcekit 3.0.1__tar.gz → 3.12.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rcekit-3.0.1 → rcekit-3.12.1}/CHANGELOG.md +1330 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/CONTRIBUTING.md +22 -1
- {rcekit-3.0.1 → rcekit-3.12.1}/PKG-INFO +411 -194
- {rcekit-3.0.1 → rcekit-3.12.1}/README.md +410 -193
- {rcekit-3.0.1 → rcekit-3.12.1}/docs/guide.md +302 -10
- {rcekit-3.0.1 → rcekit-3.12.1}/docs/reference.md +405 -19
- {rcekit-3.0.1 → rcekit-3.12.1}/rcekit.egg-info/PKG-INFO +411 -194
- {rcekit-3.0.1 → rcekit-3.12.1}/rcekit.egg-info/SOURCES.txt +9 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/rcekit.py +2900 -168
- {rcekit-3.0.1 → rcekit-3.12.1}/templates/payloads.json +99 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/README.md +343 -27
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/fastjson-1.2.83.json +2 -2
- rcekit-3.12.1/tests/bench/cases/gitlist-cve-2018-1000533-argv.json +92 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/log4shell-cve-2021-44228.json +1 -1
- rcekit-3.12.1/tests/bench/cases/mongo-express-where-boolean.json +75 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/opentsdb-cve-2023-25826.json +2 -2
- rcekit-3.12.1/tests/bench/cases/php-inclusion-file-read.json +86 -0
- rcekit-3.12.1/tests/bench/cases/php-inclusion-include-execute.json +108 -0
- rcekit-3.12.1/tests/bench/cases/thinkphp-lang-include-execute.json +95 -0
- rcekit-3.12.1/tests/bench/cases/webmin-cve-2019-15107-enumerated.json +52 -0
- rcekit-3.12.1/tests/bench/cases/webmin-cve-2019-15107-time.json +55 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/webmin-cve-2019-15107.json +6 -4
- rcekit-3.12.1/tests/bench/requests/mongo-express-literal.txt +3 -0
- rcekit-3.12.1/tests/bench/requests/mongo-express-where.txt +3 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/runner.py +5 -2
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/test_docs.py +295 -1
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/test_generator.py +4527 -15
- {rcekit-3.0.1 → rcekit-3.12.1}/LICENSE +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/MANIFEST.in +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/SECURITY.md +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/docs/generation.md +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/docs/verify-it-yourself.md +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/pyproject.toml +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/rcekit.egg-info/dependency_links.txt +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/rcekit.egg-info/entry_points.txt +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/rcekit.egg-info/top_level.txt +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/setup.cfg +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/hugegraph-gremlin-eval.json +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/hugegraph-gremlin-reflected-class.json +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/hugegraph-gremlin-shell.json +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/struts2-s2-001.json +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/tomcat-cve-2017-12615.json +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/cases/webmin-cve-2019-15107-file.json +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/bench/requests/webmin.txt +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/test_bench_runner.py +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tests/test_corpus_embedding.py +0 -0
- {rcekit-3.0.1 → rcekit-3.12.1}/tools/embed_corpus.py +0 -0
|
@@ -8,6 +8,56 @@ formats, or the template schema.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
- **Two bench notes still named a blocker that had already been removed.** The
|
|
14
|
+
second-order row said "the reason is the harness" and the Chartbrew paragraph
|
|
15
|
+
said "there is no setup hook in the runner" — both true when written, both
|
|
16
|
+
false the moment a chain became the delivery the engine drives. A reason that
|
|
17
|
+
has expired is worse than no reason: it sends the next reader to fix something
|
|
18
|
+
already fixed, and it hides whatever is actually in the way now. Both now
|
|
19
|
+
describe the state of the code, which is the only thing a reader of this
|
|
20
|
+
repository can check them against.
|
|
21
|
+
|
|
22
|
+
The harness half is settled and **measured rather than argued**. Run against a
|
|
23
|
+
local target whose store sits behind a login — `POST /login` hands out a
|
|
24
|
+
token, `POST /notes` requires it and answers `saved` with no echo, `GET
|
|
25
|
+
/render` renders the stored value through a shell — `--verify-chain` with
|
|
26
|
+
`--methods reflected --observe-url` reports `executed` on the OBSERVED
|
|
27
|
+
channel, on a computed value absent from that endpoint's pre-injection
|
|
28
|
+
control. Against the twin endpoint that renders the same value and executes
|
|
29
|
+
nothing, the same invocation sends 19 probes and reports `negative` on all 19.
|
|
30
|
+
No case schema change was needed: `invocation` already takes arbitrary flags
|
|
31
|
+
and `{bench}` already expands.
|
|
32
|
+
|
|
33
|
+
So the second-order row's blocker is now the absence of a target, and the note
|
|
34
|
+
says what a target must look like precisely enough to screen one — the store
|
|
35
|
+
may be authenticated, the **render may not be** behind the chain's own
|
|
36
|
+
session, because `_fire_observed` takes the flags' url, method, data and
|
|
37
|
+
headers and nothing else: no cookie jar, no chain state, no `{var}`.
|
|
38
|
+
|
|
39
|
+
**All 332 environments** in a vulhub checkout were then screened against that,
|
|
40
|
+
and the note records the funnel rather than only the conclusion: 168 removed
|
|
41
|
+
by a class that cannot be a deferred execution sink, 164 left, 18 whose own
|
|
42
|
+
documentation describes both a store and a later act on it, and 0 surviving a
|
|
43
|
+
read of those 18. They are grouped by the seven reasons they failed rather
|
|
44
|
+
than by product, because the reason is the part that generalises — in-band
|
|
45
|
+
renders, `write`'s shape, non-HTTP protocols, no computed value reaching any
|
|
46
|
+
response, library demos with no HTTP surface, an interactive setup wizard, and
|
|
47
|
+
client-side execution. `cacti/CVE-2025-24367` is the closest miss and is named
|
|
48
|
+
as such.
|
|
49
|
+
|
|
50
|
+
Chartbrew's obstacle did not disappear, it **moved** — from the harness, where
|
|
51
|
+
it was fixable, to the oracle, where it is not cheaply: a chain can now reach
|
|
52
|
+
its three setup steps, but `boolean` is refused on a chain by name
|
|
53
|
+
(`CHAIN_UNSUPPORTED_METHODS`) because it compares response shape across a
|
|
54
|
+
shuffled series, which a chain's setup steps change for reasons that have
|
|
55
|
+
nothing to do with the sink.
|
|
56
|
+
|
|
57
|
+
The local target is deliberately **not** proposed as a case. A purpose-written
|
|
58
|
+
vulnerable app composed under Docker is a fixture wearing Docker, and a
|
|
59
|
+
fixture is the one thing a bench case exists not to be.
|
|
60
|
+
|
|
11
61
|
### Added
|
|
12
62
|
|
|
13
63
|
- **A coverage ledger, so a measured result and a reproduced one stop looking
|
|
@@ -70,6 +120,56 @@ formats, or the template schema.
|
|
|
70
120
|
|
|
71
121
|
### Fixed
|
|
72
122
|
|
|
123
|
+
- **The quick start told readers to run a command two of its three install
|
|
124
|
+
paths do not provide.** Every example in the section was spelled `rcekit`,
|
|
125
|
+
which exists only after a PyPI install -- while the same section offers
|
|
126
|
+
`curl -O rcekit.py` and `git clone` as the other two ways to get the tool.
|
|
127
|
+
`docs/guide.md` spells it `python rcekit.py` in all 28 of its examples, so the
|
|
128
|
+
README was the single inconsistent page, and a reader following its own
|
|
129
|
+
install advice could not run any of its commands. Every example now spells it
|
|
130
|
+
the way the guide does, which works from a checkout and from the single file,
|
|
131
|
+
with one line saying an installed copy answers to `rcekit`. The `--doctor`
|
|
132
|
+
check, which every path runs first, carries both spellings, because that one
|
|
133
|
+
is reached before the examples and before the line explaining them.
|
|
134
|
+
|
|
135
|
+
`--insecure` never appeared in the section either, although an internal target
|
|
136
|
+
with a self-signed certificate is the common case rather than the exception.
|
|
137
|
+
Reproduced against a local HTTPS sink: all four probes come back `error`, with
|
|
138
|
+
`NEVER REACHED THE TARGET` and the hint to pass the flag. The run is right to
|
|
139
|
+
refuse to call that `negative`, but to someone copying a line out of the
|
|
140
|
+
README it reads as a broken command, so the flag is now in the examples and
|
|
141
|
+
the paragraph above them says what it costs.
|
|
142
|
+
|
|
143
|
+
The section is now 6 scenarios named for the situation each answers, with a
|
|
144
|
+
query-string command and a captured-request command for every one: output
|
|
145
|
+
comes back; nothing comes back but the target has egress (a bare IP for `oob`,
|
|
146
|
+
a delegated name for the DNS shapes, `lookup` and `deser`); no output and no
|
|
147
|
+
egress but a read-back channel; your own request stores the file; everything
|
|
148
|
+
the tool has; and a known target narrowed for speed. That covers `lookup`,
|
|
149
|
+
`deser`, `boolean`, `--bridges`, `--observe-url`, `--auto-params`,
|
|
150
|
+
`--confirm-depth` and the `--sink-env`/`--sink-shape` pair, none of which had
|
|
151
|
+
a runnable example before.
|
|
152
|
+
|
|
153
|
+
All 12 commands were run against a local sink that really executes, over HTTP
|
|
154
|
+
and over HTTPS with a self-signed certificate, which is how the one broken
|
|
155
|
+
example in the draft was caught: `--environments windows --contexts raw
|
|
156
|
+
--sink-env powershell --sink-shape sq` builds no probes at all and reports
|
|
157
|
+
`NOTHING WAS TESTED`. The Windows example is now the pairing the `--sink-env`
|
|
158
|
+
help describes -- a .NET runtime with a PowerShell sink -- and the paragraph
|
|
159
|
+
under it says that pinning the pair wrong is the one way to narrow into
|
|
160
|
+
nothing. The `--environments` values offered in that scenario are the ones
|
|
161
|
+
measured to build detection probes; `sql`, `powershell` and `kubernetes` build
|
|
162
|
+
none and are left out.
|
|
163
|
+
|
|
164
|
+
The probe-count arithmetic and the two meanings of `--max-payloads` move out
|
|
165
|
+
to `docs/guide.md`, which already carried both in more detail, leaving a
|
|
166
|
+
one-line warning and a link. The counts that stay were re-measured at 3.1.2
|
|
167
|
+
against a confirming Unix sink -- 1154 probes, 124 with `--environments unix`,
|
|
168
|
+
17 adding `--contexts raw` -- and the sample transcript is a real run rather
|
|
169
|
+
than counts from one run spliced onto an evidence line from another.
|
|
170
|
+
|
|
171
|
+
No version bump -- this is documentation only.
|
|
172
|
+
|
|
73
173
|
- **The comparison table named seven of the nine registered methods.** `lookup`
|
|
74
174
|
and `boolean` had no row in "How RCEKit compares", although `lookup` is the
|
|
75
175
|
Log4Shell row the CVE table directly above it already carries, and `boolean`
|
|
@@ -290,6 +390,1219 @@ formats, or the template schema.
|
|
|
290
390
|
|
|
291
391
|
No version bump -- this is documentation and tests only.
|
|
292
392
|
|
|
393
|
+
## [3.12.1] — 2026-10-31
|
|
394
|
+
|
|
395
|
+
### Fixed
|
|
396
|
+
|
|
397
|
+
- **RCEKit died mid-report on a Windows console, and leaked its own path doing
|
|
398
|
+
it.** Python encodes stdout with the locale's codec, cp1252 on a stock
|
|
399
|
+
Windows install, and raises `UnicodeEncodeError` on anything that codec has
|
|
400
|
+
no byte for. Three strings carried `U+2192`: the non-execution section
|
|
401
|
+
closing in the `[detect]` report, the same line in `[verify-chain]`, and
|
|
402
|
+
`time`'s own evidence summary -- which is not only printed but becomes the
|
|
403
|
+
`timing-sink` verdict's detail, so it reaches `--detect-json` and the written
|
|
404
|
+
reports too.
|
|
405
|
+
|
|
406
|
+
The shape of the failure was the worst available. The findings above the
|
|
407
|
+
closing line had already been printed, so the run looked like it crashed
|
|
408
|
+
while its verdicts scrolled past, the exit status was 1 from an unhandled
|
|
409
|
+
exception, and the traceback carried the module's absolute path -- which the
|
|
410
|
+
strict posture for this project's own product code forbids.
|
|
411
|
+
|
|
412
|
+
Any run reporting `timing-sink`, `file-read`, `file-write`,
|
|
413
|
+
`evaluation-sink`, `deserialization-sink`, `lookup-sink` or `needs-review`
|
|
414
|
+
reached it, as did any redirected pipe under a non-UTF-8 locale. CI runs on
|
|
415
|
+
Linux under UTF-8, so it had never seen it; the unit suite surfaced it only
|
|
416
|
+
through a subprocess test, and named an assertion about a missing message
|
|
417
|
+
rather than the encoder.
|
|
418
|
+
|
|
419
|
+
Those three are ASCII now, and a test walks `rcekit.py`'s string literals and
|
|
420
|
+
refuses any character cp1252 cannot encode, with one justified exception for
|
|
421
|
+
the byte-order mark `strip_bom` has to *recognise*. `main` also sets
|
|
422
|
+
`errors="replace"` on its own streams, because a guard that holds only while
|
|
423
|
+
someone remembers it is not a guard: a character that slips past prints as
|
|
424
|
+
`?` and the report finishes. A report one character wrong is worth having; a
|
|
425
|
+
traceback in place of a report is not. The streams are not switched to UTF-8,
|
|
426
|
+
which would trade a visible `?` for mojibake throughout on the console the
|
|
427
|
+
operator is actually reading.
|
|
428
|
+
|
|
429
|
+
### Documentation
|
|
430
|
+
|
|
431
|
+
- **Quick start had no scenario for either sink that is not a shell.** `argv`
|
|
432
|
+
(3.7.0) and `include` (3.12.0) both reach `executed`, and both appeared only
|
|
433
|
+
inside one sentence of the widest-run scenario. The reason is structural and
|
|
434
|
+
now said out loud: scenarios 1-4 ask *what can you observe*, which is what
|
|
435
|
+
decides the oracle, and neither of those methods answers anything on that
|
|
436
|
+
axis -- both sinks return output and neither runs a command. So there is a
|
|
437
|
+
fifth scenario asking what the sink **is**, with a worked command for each,
|
|
438
|
+
and the section says which question each scenario answers.
|
|
439
|
+
|
|
440
|
+
- **The field guide offered ten of eleven methods, and its contents list
|
|
441
|
+
nineteen of twenty-one sections.** `include` had no row in the method-choice
|
|
442
|
+
table and no section; the `argv` section had been missing from the contents
|
|
443
|
+
list since 3.7.0. `docs/guide.md` now has both, and the drift was possible
|
|
444
|
+
because that table and that list were the ones in this repository no test
|
|
445
|
+
read -- the same hole the comparison table had when it named seven of nine
|
|
446
|
+
methods for two releases. Three new test classes close it: the guide's
|
|
447
|
+
method-choice table is pinned to `DETECTION_METHODS` in both directions, and
|
|
448
|
+
every page carrying a contents list has it checked against its own sections,
|
|
449
|
+
by anchor rather than by label, since `docs/reference.md` shortens four
|
|
450
|
+
entries on purpose.
|
|
451
|
+
|
|
452
|
+
- **Both lists of environments were wrong, in opposite directions, and neither
|
|
453
|
+
was checked.** The README named eleven and left out `powershell`, `sql` and
|
|
454
|
+
`kubernetes`; `docs/reference.md` named fourteen, left out `powershell`, and
|
|
455
|
+
mentioned `sql` only in the prose underneath. The real answer is sixteen and
|
|
456
|
+
**not the same set in both modes** -- `powershell` and `sql` have detection
|
|
457
|
+
probes and no exploitation payloads, `graphql` and `mongodb` the reverse --
|
|
458
|
+
which is worth knowing before pinning one, because a name with nothing behind
|
|
459
|
+
it for the mode you are running narrows the run to nothing. The reference
|
|
460
|
+
carries that as a table with a test behind it, read by generating records
|
|
461
|
+
rather than by reading corpus keys: `postgres` is a key inside a payload
|
|
462
|
+
category and emits nothing, so naming it would have replaced an incomplete
|
|
463
|
+
claim with a wrong one. The README's twelve lines enumerating seven flags'
|
|
464
|
+
value sets are a pointer to those tested lists instead.
|
|
465
|
+
|
|
466
|
+
- **`CONTRIBUTING.md` never mentioned `tools/embed_corpus.py`.** Someone
|
|
467
|
+
following it alone would edit `templates/payloads.json`, not regenerate the
|
|
468
|
+
copy inside the module, and meet a red suite complaining about drift with the
|
|
469
|
+
fix documented only in the README.
|
|
470
|
+
|
|
471
|
+
## [3.12.0] — 2026-10-31
|
|
472
|
+
|
|
473
|
+
### Added
|
|
474
|
+
|
|
475
|
+
- **`include` reaches execution, and not by the route the roadmap expected.**
|
|
476
|
+
The obvious one is a wrapper carrying code -- `data://`, `php://input` -- and
|
|
477
|
+
both need `allow_url_include`, which PHP has defaulted off since 5.2. The
|
|
478
|
+
target said so in its own words when 3.11.0 measured it:
|
|
479
|
+
`data:// wrapper is disabled in the server configuration by
|
|
480
|
+
allow_url_include=0`.
|
|
481
|
+
|
|
482
|
+
What works on a default build is to make the sink include a script that
|
|
483
|
+
*writes*, and hand that script its arguments through the request. PEAR's
|
|
484
|
+
`pearcmd.php` is present in the official PHP images, `register_argc_argv`
|
|
485
|
+
turns the query string into its argv, and `config-create` writes its output
|
|
486
|
+
to a path those arguments name -- so the computed one-liner goes in the
|
|
487
|
+
output. `--include-write-url` names where that file is served, and without it
|
|
488
|
+
`include` proves reads only, because there is no proof to be had.
|
|
489
|
+
|
|
490
|
+
Two things about the shape were measured rather than reasoned. The payload is
|
|
491
|
+
the **whole query string**, not one parameter's value: the script's arguments
|
|
492
|
+
have to sit outside the parameter carrying the traversal, which is why the
|
|
493
|
+
wrapper writes that parameter's name itself (`--include-write-param`, default
|
|
494
|
+
`lang`) and why the payload needs `--verify-url-location raw` to reach the
|
|
495
|
+
wire with its `&` intact. And the proof is the **second** request: the write
|
|
496
|
+
answers 200 whether or not anything was interpreted.
|
|
497
|
+
|
|
498
|
+
So the ladder has three outcomes and they are three different findings. The
|
|
499
|
+
product in the fetched file is `executed`. The source form coming back
|
|
500
|
+
verbatim is `file-write` -- the file is on the target and nothing interpreted
|
|
501
|
+
it, the distinction `write` has drawn since 2.31.0. Neither is `negative`.
|
|
502
|
+
The read rungs are untouched and still report `file-read`.
|
|
503
|
+
|
|
504
|
+
`include`'s ceiling is now `executed` with `file-read` and `file-write` below
|
|
505
|
+
it, and its `question` deliberately stays `file-read`. A run stops asking a
|
|
506
|
+
question once it is answered, so `execution` there would skip this method on
|
|
507
|
+
any target where execution was already proven -- discarding a file read with
|
|
508
|
+
its own remediation. The tier says how strong an answer the method can reach
|
|
509
|
+
and the question says what it asks; they are different axes and this is the
|
|
510
|
+
method where that matters.
|
|
511
|
+
|
|
512
|
+
Bench case `thinkphp-lang-include-execute` on ThinkPHP 6.0.12: `executed`
|
|
513
|
+
against the real build in 2.6s from a cold start, the fetch returning
|
|
514
|
+
11688702 for 6022*1941 with the source form absent.
|
|
515
|
+
|
|
516
|
+
### Changed
|
|
517
|
+
|
|
518
|
+
- **A verdict's tier now comes from the probe shape, not only the method.**
|
|
519
|
+
`Probe` carries an optional `tier` for the shapes that reach less than their
|
|
520
|
+
method can, and the per-probe result assembly reads it before falling back
|
|
521
|
+
to the method's ceiling. This is what keeps 3.11.0's observed-channel fix
|
|
522
|
+
true now that `include`'s ceiling is `executed`: the second-order channel
|
|
523
|
+
awards the tier carried in the result, so carrying the method's ceiling
|
|
524
|
+
there would report a second-order *file read* as execution. The guard
|
|
525
|
+
written for that fix caught it, and `docs/reference.md` now states the rule
|
|
526
|
+
as per-shape rather than per-method.
|
|
527
|
+
|
|
528
|
+
**The control was chosen by measurement.** The obvious one -- `--methods
|
|
529
|
+
reflected` on the same URL -- is wrong: measured, it sends 37 probes and 32
|
|
530
|
+
come back `error`, because a shell payload sent raw into a query string breaks
|
|
531
|
+
the request before it arrives, and a control whose probes mostly never reach
|
|
532
|
+
the target says nothing about false confirmation. So the control is a tier
|
|
533
|
+
ceiling instead: the same build, the same rung, the same probes, with no
|
|
534
|
+
`--include-write-url`. Measured, 16 probes reach the target and all 16 are
|
|
535
|
+
`negative`. The execution verdict comes from reading the written file back,
|
|
536
|
+
and without somewhere to read it from this method does not reach `executed`
|
|
537
|
+
on a target where it otherwise does.
|
|
538
|
+
|
|
539
|
+
### Fixed
|
|
540
|
+
|
|
541
|
+
- **Every traversal depth now writes its own file and computes its own
|
|
542
|
+
product.** They shared one filename and one product per wrapper, so they also
|
|
543
|
+
shared one read-back URL -- and a depth whose own include *failed* fetched
|
|
544
|
+
the file an earlier depth had written and reported it as its own execution.
|
|
545
|
+
Measured: depth 5, with `Failed opening` in its own response body, returned
|
|
546
|
+
`executed` carrying depth 3's product. The run's verdict about the target
|
|
547
|
+
stayed right, because the file only exists if some depth did execute; what
|
|
548
|
+
was wrong is the map of which shapes the sink accepts, which is what
|
|
549
|
+
`--confirm-depth every` promises and what each finding prints as its carrier.
|
|
550
|
+
Nor did it need that flag: the early stop fires only on `executed`, so a
|
|
551
|
+
depth reaching `file-write` left the carrier running and the next one read
|
|
552
|
+
the same verbatim file. The same class as the `expr` shape 3.0.1 retired from
|
|
553
|
+
`reflected` -- a shape naming something it had not proved.
|
|
554
|
+
|
|
555
|
+
- **`include` missed execution on a sink that opens the path as given.** The
|
|
556
|
+
PEAR traversal named `usr/local/lib/php/pearcmd` with no extension, which is
|
|
557
|
+
right for a framework loader that appends `.php` itself -- ThinkPHP's
|
|
558
|
+
language loader includes `$file . '.php'` -- and wrong for a bare
|
|
559
|
+
`include $_GET['file'];`, where PHP appends nothing and the file is never
|
|
560
|
+
found. Measured on `vulhub/php:7.1.3-apache`, a build whose PEAR script is
|
|
561
|
+
present and whose `register_argc_argv` is on: the extensionless form answered
|
|
562
|
+
200 on the write, created no file, read back 404 and reported a clean
|
|
563
|
+
`negative` on a sink RCEKit reaches. The corpus now declares both shapes;
|
|
564
|
+
which one works is a property of the sink, so both are sent and at most one
|
|
565
|
+
confirms. New bench case `php-inclusion-include-execute`: `executed` in 2.0s
|
|
566
|
+
from a cold start, against the same build whose read case reports
|
|
567
|
+
`file-read`.
|
|
568
|
+
|
|
569
|
+
That case's own notes said execution was out of reach here and the only
|
|
570
|
+
remaining route was two-step log poisoning. It was right about
|
|
571
|
+
`allow_url_include` and wrong about the conclusion, and the correction is in
|
|
572
|
+
this change too: a script already on disk that *writes* gets code past that
|
|
573
|
+
setting in one step.
|
|
574
|
+
|
|
575
|
+
### Not built, deliberately
|
|
576
|
+
|
|
577
|
+
- **Windows and PowerShell parity**, the other half of this phase, is blocked on
|
|
578
|
+
a target rather than on design. Measured: none of vulhub's 332 environments
|
|
579
|
+
uses a Windows base image, and this machine's Docker daemon is
|
|
580
|
+
`linux/x86_64`, which cannot run Windows containers at all. PowerShell
|
|
581
|
+
exploitation payloads and `cmd.exe` break-out contexts could be written, and
|
|
582
|
+
nothing could prove them -- and `docs/generation.md` advertises that every
|
|
583
|
+
generated payload runs, so shipping an unmeasured category would weaken a
|
|
584
|
+
stated property rather than extend coverage. It waits for a target.
|
|
585
|
+
|
|
586
|
+
## [3.11.0] — 2026-10-31
|
|
587
|
+
|
|
588
|
+
### Added
|
|
589
|
+
|
|
590
|
+
- **A sink that opens a path the request names had no method, and the tier it
|
|
591
|
+
earns is not execution.** `--methods include` confirms that the target read a
|
|
592
|
+
file RCEKit chose, and reports it as a new verdict, `file-read` — the mirror
|
|
593
|
+
of `file-write`, which `write` has reported since 2.31.0 for a file served
|
|
594
|
+
but not interpreted.
|
|
595
|
+
|
|
596
|
+
The ceiling is structural rather than cautious, and it is the whole of what
|
|
597
|
+
this method had to get right. Every method here that proves execution rests
|
|
598
|
+
on a value the target **computed** from operands random to that probe,
|
|
599
|
+
because that is the one thing reflection cannot produce. A file read has no
|
|
600
|
+
such value: RCEKit does not know what is in the target's files, so its
|
|
601
|
+
evidence can only be content recognised in advance. A static signature
|
|
602
|
+
differenced against a payload-free control is exactly the evidence 3.8.0
|
|
603
|
+
demoted the chain's in-band verdict for, and the reasoning does not change
|
|
604
|
+
because the subject did. So `file-read` is where this stops, and there is no
|
|
605
|
+
path upward from it.
|
|
606
|
+
|
|
607
|
+
**The signature has to be the file's content, not the path.** Measured
|
|
608
|
+
against vulhub `php/inclusion`, whose sink is `include $_GET['file'];`: when
|
|
609
|
+
the path cannot be opened, PHP echoes it back inside its own warning, twice.
|
|
610
|
+
An oracle asking "did my string come back" confirms on every probe there,
|
|
611
|
+
against a target that read nothing. So the path travels as the probe's
|
|
612
|
+
*forbidden* literal — its presence says the sink reflected the request — and
|
|
613
|
+
only the content signature decides the verdict. A response carrying both is
|
|
614
|
+
still a read, and the finding says the target also echoes the path.
|
|
615
|
+
|
|
616
|
+
**Traversal depth is swept, not configured.** Which depth works is a property
|
|
617
|
+
of the sink's own directory, not of the target: the same build answered an
|
|
618
|
+
absolute `/proc/version` and a relative `../../../proc/version` alike, and
|
|
619
|
+
measured, depths 1 and 2 failed while 3 through 8 confirmed, because the sink
|
|
620
|
+
runs from `/var/www/html`. A sink that strips a leading separator answers only
|
|
621
|
+
the relative form, so both go out.
|
|
622
|
+
|
|
623
|
+
**The default read target is chosen for what it does not return.** Proving a
|
|
624
|
+
read needs content predictable enough to recognise and absent from the
|
|
625
|
+
control; it does not need the target's secrets on the operator's screen. So
|
|
626
|
+
`/proc/version` is the default, and `/etc/passwd` sits one safety rung up —
|
|
627
|
+
the way the corpus already gates credential-adjacent payloads — which means a
|
|
628
|
+
default run proves the read with a kernel build string and account names come
|
|
629
|
+
back only for an operator who asked for them.
|
|
630
|
+
|
|
631
|
+
The wrappers and the readable files live in the corpus
|
|
632
|
+
(`include_wrappers`, `include_read_targets`), which is the seam the bridges,
|
|
633
|
+
the eval carriers and `argv_primitives` already use: a wrapper or a
|
|
634
|
+
recognisable file can be added without touching Python. `php://filter`
|
|
635
|
+
needed no oracle of its own — the evidence search already peels base64 runs
|
|
636
|
+
of 16 characters or more, and a file's worth of base64 is far past that, so
|
|
637
|
+
the same signature is found inside the encoded blob.
|
|
638
|
+
|
|
639
|
+
`include` declares its own `question` rather than leaving the default. A run
|
|
640
|
+
stops asking a question once it is answered, so `execution` would have made
|
|
641
|
+
this method skipped on any target where execution was already proven —
|
|
642
|
+
discarding a finding with its own remediation, which is the mistake `lookup`
|
|
643
|
+
declares a question to avoid.
|
|
644
|
+
|
|
645
|
+
Bench case `php-inclusion-file-read`: `file-read` against the real build,
|
|
646
|
+
with a `class-attribution` control. The control is the target's own property
|
|
647
|
+
rather than a contrivance — including a file executes no command, so
|
|
648
|
+
`--methods reflected` at `--probe-depth full` sends 19 probes and reports
|
|
649
|
+
`negative` on all 19 against the same URL. That is what earns `include` its
|
|
650
|
+
own name.
|
|
651
|
+
|
|
652
|
+
- **`--include-wrappers`** narrows which inclusion wrappers go out. It defaults
|
|
653
|
+
to everything, unlike `--argv-binary`, because a wrapper names a path rather
|
|
654
|
+
than a program-specific option, so there is nothing target-specific to know
|
|
655
|
+
first. An unknown name is refused rather than narrowing the run to nothing
|
|
656
|
+
and calling the result clean.
|
|
657
|
+
|
|
658
|
+
### Changed
|
|
659
|
+
|
|
660
|
+
- **The observed channel now awards the method's own tier instead of
|
|
661
|
+
`executed`.** `_observe_match` gave execution to whatever reached it, which
|
|
662
|
+
was true while every method that could reach it proved execution.
|
|
663
|
+
`_observable` admits a result whose expected value is absent from the payload,
|
|
664
|
+
and that was a proxy for "only execution produces this" -- correct for the
|
|
665
|
+
computed-value methods, and correct for `file` and `oob`, whose tokens sit in
|
|
666
|
+
the payload and are excluded by it.
|
|
667
|
+
|
|
668
|
+
`include` is the first method where the proxy and the property come apart. A
|
|
669
|
+
file's content signature is in no payload, so the rule admits it, and it is
|
|
670
|
+
not computed either, so a page that merely renders the file produces it with
|
|
671
|
+
nothing executed. Measured against a sink that only queued a read and an
|
|
672
|
+
observed endpoint that rendered the file: second-order **execution** was
|
|
673
|
+
reported against a target that executed nothing.
|
|
674
|
+
|
|
675
|
+
The tier travels with the method now. `reflected` and `eval` still reach
|
|
676
|
+
`executed` on the observed channel -- pinned by a test, because a fix that
|
|
677
|
+
stopped the false claim by dropping the true one would pass a test written
|
|
678
|
+
only for the first -- and `include` reaches `file-read` there. The observed
|
|
679
|
+
channel changes *where* evidence appeared, never *what* it proves.
|
|
680
|
+
`observe_status` in `--detect-json` carries the awarded tier for the same
|
|
681
|
+
reason.
|
|
682
|
+
|
|
683
|
+
- **Every Windows dialect reads the Windows read targets.** `powershell` is a
|
|
684
|
+
shell dialect, not a filesystem. The traversal builder treated both members
|
|
685
|
+
of `WINDOWS_PATH_SINK_ENVS` alike from the start and the target lookup did
|
|
686
|
+
not, so `--sink-env powershell` found no target, built no probe and reported
|
|
687
|
+
that nothing was tested -- against paths that were entirely right for it.
|
|
688
|
+
|
|
689
|
+
### Not built, deliberately
|
|
690
|
+
|
|
691
|
+
- **Execution from an inclusion sink.** The route is a wrapper carrying code —
|
|
692
|
+
`data://`, `php://input` — and both need `allow_url_include`, which PHP has
|
|
693
|
+
defaulted off since 5.2. The target said so in its own words:
|
|
694
|
+
`data:// wrapper is disabled in the server configuration by
|
|
695
|
+
allow_url_include=0`, and `php://input` failed the same way. The route that
|
|
696
|
+
works on a released build is two-step — poison a log or a session file, then
|
|
697
|
+
include it — which is a chain, and a chain became a delivery the engine
|
|
698
|
+
drives only in 3.9.0. Shipping an execution path with no case to exercise it
|
|
699
|
+
is a claim the bench cannot reproduce, which this project treats as worse
|
|
700
|
+
than a missing feature, so it waits for the case rather than for the code.
|
|
701
|
+
|
|
702
|
+
- **A phpMyAdmin case.** `phpmyadmin/CVE-2018-12613` was the first choice —
|
|
703
|
+
released software, a documented advisory, and an inclusion sink reachable
|
|
704
|
+
without authentication. Its images cannot be fetched: `vulhub/phpmyadmin:4.8.1`
|
|
705
|
+
and `mysql:5.5` both answer 403 from the registry's blob store on every
|
|
706
|
+
attempt, 13 apiece, while `hello-world` and `vulhub/php:7.1.3-apache` pull
|
|
707
|
+
normally. That is not a transfer that retrying fixes, so the row names a
|
|
708
|
+
target that demonstrates the class instead, and its `Advisory` column says so
|
|
709
|
+
with a dash.
|
|
710
|
+
|
|
711
|
+
## [3.10.0] — 2026-10-30
|
|
712
|
+
|
|
713
|
+
### Added
|
|
714
|
+
|
|
715
|
+
- **`--observe-trigger`, because second-order detection has three acts and the
|
|
716
|
+
engine had two.** Inject then read is enough for a payload the target renders
|
|
717
|
+
on its own next page load. It is not enough for one waiting to be run: a queue
|
|
718
|
+
a worker drains, a report generated on demand, a cache rebuilt by an admin
|
|
719
|
+
action, a "run now" button. There the observed page never changes, because the
|
|
720
|
+
work never happens — so polling it reads a page that will not move, and the
|
|
721
|
+
run reports `negative` about a sink that would execute the moment anything
|
|
722
|
+
asked it to.
|
|
723
|
+
|
|
724
|
+
Measured against a target that queues the value on `POST /store`, executes it
|
|
725
|
+
only when `/run` is asked, and renders the output on `/out`: the same probes
|
|
726
|
+
report `negative=19` without the trigger and `executed=19` with it, on the
|
|
727
|
+
observed channel with the same differential as any other second-order finding.
|
|
728
|
+
`--observe-trigger-request` takes a captured request instead, for a trigger
|
|
729
|
+
behind the same session as the page that shows the result.
|
|
730
|
+
|
|
731
|
+
Four properties, each of which is a decision rather than a default:
|
|
732
|
+
|
|
733
|
+
- **Fired before every observed read** — once per probe, once per poll, once
|
|
734
|
+
for the control. Per poll alone is not enough and per probe is the expensive
|
|
735
|
+
half: where the store keeps a single value, triggering only at the end of
|
|
736
|
+
the batch runs whatever the last probe left behind and never tests the rest.
|
|
737
|
+
Measured on an overwriting target, the last stored shape was the Shellshock
|
|
738
|
+
one, which needs a CGI environment sink, so an exploitable sink reported
|
|
739
|
+
`negative` for all 19. The pre-flight names each component of the count,
|
|
740
|
+
because this fires more often than anything else RCEKit sends and that
|
|
741
|
+
number is the operator's to judge rather than the tool's to hide.
|
|
742
|
+
- **The control is triggered too**, so the control and every later read differ
|
|
743
|
+
in the payload and in nothing else — the discipline the chain control
|
|
744
|
+
follows by being a whole chain run. Without it, anything the trigger itself
|
|
745
|
+
renders would be in the reads and absent from the control.
|
|
746
|
+
- **Its own response is never read for evidence.** The trigger is fired to
|
|
747
|
+
cause work; reading what it returns would be a second oracle with no control
|
|
748
|
+
behind it. A test points the trigger at an endpoint that echoes the payload
|
|
749
|
+
and the observed channel at one that does not: nothing is confirmed.
|
|
750
|
+
- **It requires `--observe-url`.** Alone it would send a request and measure
|
|
751
|
+
nothing, which is a run that tests nothing while looking busy, so the run
|
|
752
|
+
refuses it by name.
|
|
753
|
+
|
|
754
|
+
## [3.9.0] — 2026-10-30
|
|
755
|
+
|
|
756
|
+
### Added
|
|
757
|
+
|
|
758
|
+
- **A chain is now a delivery the detection engine drives, so a sink behind a
|
|
759
|
+
login is reachable by the oracles that can prove execution.** There were two
|
|
760
|
+
engines. `--verify-chain` carried the session machinery — login, CSRF
|
|
761
|
+
extraction, a payload in an upload's content, a trigger — and none of the
|
|
762
|
+
oracles. `--methods` carried every oracle, the payload-free control, the
|
|
763
|
+
budget, the safety rungs and the tier vocabulary, and could not hold a
|
|
764
|
+
session. So the sinks that most needed proof were reachable only by the path
|
|
765
|
+
that cannot reach `executed` at all.
|
|
766
|
+
|
|
767
|
+
`--verify-chain --methods reflected,eval` now runs the engine through the
|
|
768
|
+
chain's steps. Measured against a two-step target whose `/run` is guarded by a
|
|
769
|
+
token `/session` hands out — a single request reaches no payload there, it
|
|
770
|
+
answers 403 — the run reports `executed` with the ordinary evidence line: *a
|
|
771
|
+
value computed from random operands, absent from the payload-free control*.
|
|
772
|
+
The same probes against a target that returns the value instead of running it
|
|
773
|
+
report `negative` for all 19.
|
|
774
|
+
|
|
775
|
+
Nothing about the oracles changed to gain this, which is the point. A chain is
|
|
776
|
+
a different **transport**, not a different oracle, so the seam is one method:
|
|
777
|
+
every delivery hands back `(status, body, channels, elapsed)` and no detection
|
|
778
|
+
method knows how many requests produced it.
|
|
779
|
+
|
|
780
|
+
- **`--verify-chain` without `--methods` is unchanged**, additively, exactly as
|
|
781
|
+
`--methods` was introduced for `--verify-url`. The legacy oracle and its
|
|
782
|
+
`needs-review` ceiling stay; the closing notice now names `--methods` as where
|
|
783
|
+
a stronger tier comes from, since it is no longer true that the engine cannot
|
|
784
|
+
run here.
|
|
785
|
+
|
|
786
|
+
### Changed
|
|
787
|
+
|
|
788
|
+
- **The nine delivery parameters threaded through `run_detection` and
|
|
789
|
+
`_escalate` are now one object.** That threading was not merely verbose: 3.1.1
|
|
790
|
+
found that inserting one of them where it belonged by meaning moved two
|
|
791
|
+
positional slots and raised `TypeError` for a positional caller. A bundle
|
|
792
|
+
cannot have that defect, and `SingleRequestDelivery` is the same requests in
|
|
793
|
+
the same order, so every existing caller is untouched.
|
|
794
|
+
|
|
795
|
+
- **A chain step that never answers is an `error`, not a `negative`.** The
|
|
796
|
+
legacy path put the exception's text in the response body and had no status at
|
|
797
|
+
all, which for a value oracle reads as "reached the target, found nothing" —
|
|
798
|
+
a target that could not be reached reported as one with nothing to find. The
|
|
799
|
+
step runner now distinguishes a 4xx or 5xx, whose body is read like any
|
|
800
|
+
other, from a request that never completed, which yields no channels and so
|
|
801
|
+
reports `error` through every oracle.
|
|
802
|
+
|
|
803
|
+
**Any** failed step, not only the confirm one, and that distinction is the
|
|
804
|
+
whole of a chain being several requests. A chain fails in places the confirm
|
|
805
|
+
step cannot see: an injected step that never connected leaves the confirm step
|
|
806
|
+
answering perfectly well about a payload it never received. Measured against
|
|
807
|
+
an unreachable injection step followed by a reachable confirm step, reading
|
|
808
|
+
only the confirm status reported `negative` — the false clean this project is
|
|
809
|
+
built to refuse, reached through the code written to refuse it. Failed steps
|
|
810
|
+
are now collected by name and the detail says which, because "something in the
|
|
811
|
+
chain broke" is not something an operator can act on.
|
|
812
|
+
|
|
813
|
+
- **The pre-flight counts chain steps.** A chain run is one probe and several
|
|
814
|
+
requests, and the plan line counts payloads — so without this the traffic was
|
|
815
|
+
understated by the length of the chain, for the operator who has least room to
|
|
816
|
+
be surprised by it. `--max-payloads` is deliberately **not** converted to
|
|
817
|
+
requests: it stays a payload allowance so a run is never stopped between a
|
|
818
|
+
chain's login and its trigger, abandoning a payload and leaving target state
|
|
819
|
+
the run cannot describe.
|
|
820
|
+
|
|
821
|
+
- **`--methods time` and `--methods boolean` are refused by name on a chain**,
|
|
822
|
+
the way every held-back method is refused rather than dropped. Both read the
|
|
823
|
+
shape of a response *series*: `time` fits a regression to response time, and a
|
|
824
|
+
chain's own setup steps move the server's timing in ways the drift term was
|
|
825
|
+
never fitted against; `boolean` compares response shape across a shuffled
|
|
826
|
+
series and needs its anchors to hold still, which a fresh session per probe
|
|
827
|
+
denies by construction. The delivery reports only the injected step's elapsed,
|
|
828
|
+
which is the honest number and still not one measured through a chain —
|
|
829
|
+
lifting either refusal changes what a detection method reports, and that is
|
|
830
|
+
not settleable on a fixture.
|
|
831
|
+
|
|
832
|
+
- **A fresh session per probe**, which is the expensive choice. Sharing one
|
|
833
|
+
would cost a single login instead of one per probe and would let a probe's own
|
|
834
|
+
state reach the next, which is the thing the payload-free control exists to
|
|
835
|
+
rule out. The cost is stated rather than quietly avoided.
|
|
836
|
+
|
|
837
|
+
- **`--verify-chain` with `--verify-url` or `-r` is refused**, and so is a chain
|
|
838
|
+
whose steps carry no `FUZZ`. Two ways to name one target is an ambiguity, and
|
|
839
|
+
a chain with no marker would have sent its steps and tested nothing.
|
|
840
|
+
|
|
841
|
+
### Removed
|
|
842
|
+
|
|
843
|
+
- **The 3.8.0 warning that `--methods` is not applied on the chain path.** It
|
|
844
|
+
was true when it was written and is not now, and the condition that printed it
|
|
845
|
+
sits inside a block reached only when `--methods` is absent — so it had become
|
|
846
|
+
unreachable as well as wrong. A test asserting it was the thing that caught
|
|
847
|
+
this.
|
|
848
|
+
|
|
849
|
+
## [3.8.0] — 2026-10-30
|
|
850
|
+
|
|
851
|
+
### Changed
|
|
852
|
+
|
|
853
|
+
- **`--verify-chain`'s in-band verdict was `executed` on evidence the tier rule
|
|
854
|
+
forbids, and is now `needs-review`.** The oracle there is `record.match`, a
|
|
855
|
+
*static* signature from `_COMMAND_SIGNATURES` — `uname` is matched by the word
|
|
856
|
+
`Linux` appearing, `cat /etc/passwd` by a `root:` line, `id` by `uid=` — and
|
|
857
|
+
this path runs the chain once, with the payload, so there is no payload-free
|
|
858
|
+
control to difference it against.
|
|
859
|
+
|
|
860
|
+
Both halves of what `executed` requires were therefore missing: the value is
|
|
861
|
+
not one RCEKit generated at random for that probe, and nothing ruled out its
|
|
862
|
+
having been in the response anyway. Measured against a local target that
|
|
863
|
+
**executes nothing at all** — one fixed page containing `uid=0`, `root:x:0:0:`
|
|
864
|
+
and the word `Linux` — the previous behaviour reported `executed=6` for six of
|
|
865
|
+
six payloads. It now reports `needs-review=6`, with the reason on each row.
|
|
866
|
+
|
|
867
|
+
The two tests that pin this are deliberately a pair: a genuinely vulnerable
|
|
868
|
+
sink and that inert page reach the **same** verdict through this oracle. An
|
|
869
|
+
oracle that cannot separate those two was never entitled to the tier reserved
|
|
870
|
+
for execution. That the real sink now reports `needs-review` is the honest
|
|
871
|
+
ceiling of this channel, not a regression in detection.
|
|
872
|
+
|
|
873
|
+
A control was considered and rejected: it would rule out "it was already
|
|
874
|
+
there" and not "the target computed it", so it would buy a doubled chain cost
|
|
875
|
+
for a verdict that still could not be `executed`.
|
|
876
|
+
|
|
877
|
+
- **The out-of-band chain verdict is unchanged, and that is not an oversight.**
|
|
878
|
+
A `{callback}` payload still reaches `executed` — configured by the chain
|
|
879
|
+
profile's own `callback_host` and `listen_port`, which is the only place this
|
|
880
|
+
path looks; `--oob-host` is read by the `--methods` engine and never by this
|
|
881
|
+
one. Of the shipped corpus two payloads carry that marker, both `postgres`
|
|
882
|
+
under `code_execution`, which is outside the default environment set. Its token
|
|
883
|
+
is twelve
|
|
884
|
+
characters minted for that payload and registered with the run's listener, so
|
|
885
|
+
a callback carrying it is a value only the target could have learned by
|
|
886
|
+
running what it was given — the tier rule's second clause, which needs no
|
|
887
|
+
control for the same reason `--methods oob` needs none.
|
|
888
|
+
|
|
889
|
+
- **`--verify-chain` now says that `--methods` is not applied, before it sends
|
|
890
|
+
anything.** This path never consulted the flag, so a run that accepted it in
|
|
891
|
+
silence delivered the corpus oracle while the operator believed they had asked
|
|
892
|
+
for a tiered one — and a clean result then read as though the methods had been
|
|
893
|
+
tried. Not a refusal: the chain run is still worth making, and the operator can
|
|
894
|
+
decide once they know. The run also closes by naming its own ceiling whether or
|
|
895
|
+
not anything matched.
|
|
896
|
+
|
|
897
|
+
### Migration
|
|
898
|
+
|
|
899
|
+
A `--verify-chain` run that previously printed `EXECUTED` for an in-band match
|
|
900
|
+
now prints a `NEEDS-REVIEW candidate(s)` section instead, and `executed` on that
|
|
901
|
+
path is reachable only out of band. Nothing about the chain's delivery changed —
|
|
902
|
+
the same steps, substitutions and payloads go to the target — so a finding you
|
|
903
|
+
reported from a previous run is not retracted by this; it is reclassified as
|
|
904
|
+
something to confirm rather than something confirmed.
|
|
905
|
+
|
|
906
|
+
To confirm it, reproduce the sink through `--verify-url` / `-r` with `--methods`,
|
|
907
|
+
where the oracles that rest on a computed value and a payload-free control live.
|
|
908
|
+
The chain's own out-of-band channel is the other route, and it needs two things
|
|
909
|
+
named precisely: `callback_host` and `listen_port` in the **chain profile**
|
|
910
|
+
(`--oob-host` belongs to the `--methods` engine and is not read here), and a
|
|
911
|
+
payload carrying `{callback}` — of which the shipped corpus has two, both
|
|
912
|
+
`postgres` under `code_execution`, so `--environments postgres --categories
|
|
913
|
+
code_execution` or your own `--template-file` is required to generate one.
|
|
914
|
+
|
|
915
|
+
Exit status is unaffected: this path returned 0 regardless of outcome before and
|
|
916
|
+
still does.
|
|
917
|
+
|
|
918
|
+
## [3.7.1] — 2026-10-29
|
|
919
|
+
|
|
920
|
+
### Fixed
|
|
921
|
+
|
|
922
|
+
- **A byte-order mark on a JSON *response* cost it its leaf channels and its
|
|
923
|
+
shape reading.** 3.1.2 stripped the mark everywhere RCEKit decides what a
|
|
924
|
+
request body is. The response side was left alone, and the previous change
|
|
925
|
+
documented that as a decision rather than an oversight — with what each half
|
|
926
|
+
cost measured, because the obvious answer was wrong in both directions. This
|
|
927
|
+
closes it, and that documentation is what made it safe to close.
|
|
928
|
+
|
|
929
|
+
`json.loads` rejects a mark outright, so `_json_leaf_channels` returned
|
|
930
|
+
nothing for a marked body and `response_shape` fell from its structural
|
|
931
|
+
reading to the word-count fallback. Both now strip the mark through the same
|
|
932
|
+
shared helpers the request side uses, and they had to move **together**: they
|
|
933
|
+
are two readings of one body, and stripping in one and not the other makes
|
|
934
|
+
them disagree about what a response *is* — the shape of the request-side bug,
|
|
935
|
+
reached from the other direction.
|
|
936
|
+
|
|
937
|
+
What the leaf half cost was mostly the precision of a channel name, since
|
|
938
|
+
`response body` carries the whole document and the encoded-value search peels
|
|
939
|
+
URL, HTML, `\uXXXX`, base64 and hex out of it. But a value whose JSON
|
|
940
|
+
rendering uses an escape that peeling does not undo — `\/`, or a surrogate
|
|
941
|
+
pair — was reachable *only* through the parsed leaf, and measured, it was
|
|
942
|
+
found on no channel at all once the mark was there. That is a lost
|
|
943
|
+
confirmation rather than a lost label, and it is recovered: measured again,
|
|
944
|
+
`JSON field p` with the mark and without it.
|
|
945
|
+
|
|
946
|
+
The shape half is the one that needed the wait. `response_shape` is
|
|
947
|
+
`boolean`'s oracle input, so changing it changes what a detection method
|
|
948
|
+
reports, which this project does not settle on a fixture — and `boolean` was
|
|
949
|
+
the one method with no bench case. It has had one since 3.6.1, and
|
|
950
|
+
`mongo-express-where-boolean` was run on this tree **before and after**: pass
|
|
951
|
+
in 21.2s both times, `evaluation-sink` against `negative` both times. That is
|
|
952
|
+
the no-regression evidence the change was blocked on. It does not exercise
|
|
953
|
+
the fix, because mongo-express emits no mark; the behaviour change itself is
|
|
954
|
+
shown by fixtures, and saying which evidence covers which half is the point.
|
|
955
|
+
|
|
956
|
+
**The direction is toward fewer false positives.** The structural reading
|
|
957
|
+
drops every scalar, so a request id or a timestamp cannot make two identical
|
|
958
|
+
answers look different; the word-count fallback a marked body used to get
|
|
959
|
+
cannot. A JSON API that emits a mark now gets the same guard every other JSON
|
|
960
|
+
target gets. No tier changes and no new verdict.
|
|
961
|
+
|
|
962
|
+
A mark is still not a licence to guess: a body that is not JSON once the mark
|
|
963
|
+
is gone takes exactly the path it did before, which a test pins for plain text
|
|
964
|
+
and for markup.
|
|
965
|
+
|
|
966
|
+
## [3.7.0] — 2026-10-29
|
|
967
|
+
|
|
968
|
+
### Added
|
|
969
|
+
|
|
970
|
+
- **`--methods argv`: argument injection into a program spawned with no shell.**
|
|
971
|
+
This class was in the README's excluded list until now, and the reason it
|
|
972
|
+
moved is the reason it is worth having. It is not a weaker case of command
|
|
973
|
+
injection; it is the case where the application did the **correct** thing.
|
|
974
|
+
GitList calls `escapeshellarg($query)` exactly as documented, so the value
|
|
975
|
+
reaches `git grep -i --line-number <value> <branch>` as one argv element with
|
|
976
|
+
no shell anywhere and every separator inert. What quoting cannot stop is that
|
|
977
|
+
argument being read as an **option**, and `git`'s `--open-files-in-pager=`
|
|
978
|
+
names a command git then runs. Measured against vulhub
|
|
979
|
+
`gitlist/CVE-2018-1000533`: `--methods reflected` at `--probe-depth full`
|
|
980
|
+
sends 37 probes and reports `negative` on all 37, while `--methods argv`
|
|
981
|
+
reports `executed` on the same endpoint in one probe. A separator ladder
|
|
982
|
+
cannot reach that sink by construction, not by bad luck.
|
|
983
|
+
|
|
984
|
+
**The oracle did not change, and that is the point.** The option names a
|
|
985
|
+
command, so the command is the same arithmetic core the results-based probes
|
|
986
|
+
already build, and `_confirm_computed` differences it against the payload-free
|
|
987
|
+
control exactly as it does for `reflected`. A new vector needed no new
|
|
988
|
+
definition of proof, and `executed` still rests on the channels it rested on
|
|
989
|
+
before.
|
|
990
|
+
|
|
991
|
+
It is a **method rather than a carrier**, unlike the query-language bridges it
|
|
992
|
+
otherwise resembles. A carrier would have printed this finding as
|
|
993
|
+
`[reflected/...]`, which asserts a shell of that family ran the input; on an
|
|
994
|
+
argv sink no shell ran it, a program parsed it and chose to run something
|
|
995
|
+
else. Naming the wrong class is the error 3.0.1 removed a probe shape for.
|
|
996
|
+
|
|
997
|
+
The catalogue lives in the corpus as `argv_primitives`, the seam the bridges
|
|
998
|
+
and eval carriers already use, so an option shape can be added without
|
|
999
|
+
touching Python. Two ship: `git --open-files-in-pager=` and
|
|
1000
|
+
`gs -sOutputFile=%pipe%`. Each is a **single argv element** —
|
|
1001
|
+
`-sOutputFile=x`, never `-s OutputFile=x` — because a sink that hands the
|
|
1002
|
+
value over as one argument is the shape that makes the class reachable, and a
|
|
1003
|
+
two-element option is inert there while looking like coverage. A test fails if
|
|
1004
|
+
one is added.
|
|
1005
|
+
|
|
1006
|
+
An entry also has to be able to return the value **through the channel this
|
|
1007
|
+
method has**, and that is the harder bar. `ssh -oProxyCommand=` and
|
|
1008
|
+
`rsync --rsh=` were written, reviewed and cut for failing it: a ProxyCommand
|
|
1009
|
+
runs through a shell but its stdout *is* the SSH transport, and rsync does not
|
|
1010
|
+
use a shell at all — measured, `--rsh="echo RK$((111+222))RK"` yields
|
|
1011
|
+
`protocol version mismatch` and no computed value, where the same string
|
|
1012
|
+
through a shell yields it. Both options work; neither can hand the result
|
|
1013
|
+
back. They are the reason the catalogue's remaining notes state where each
|
|
1014
|
+
primitive's stdout goes.
|
|
1015
|
+
|
|
1016
|
+
`--argv-binary` selects by primitive name or by the binary (`git`, `gs`),
|
|
1017
|
+
and refuses an unknown one rather than narrowing the run to
|
|
1018
|
+
nothing: a typo that selected no option at all would read exactly like a run
|
|
1019
|
+
that tried them and came back clean.
|
|
1020
|
+
|
|
1021
|
+
**In-band only, deliberately.** A blind argv sink is real — an image converter
|
|
1022
|
+
spawned on an upload renders nothing — and reaching it means carrying an
|
|
1023
|
+
out-of-band core instead of an arithmetic one, which is a small change to this
|
|
1024
|
+
class and no change to its shape. It is left out because there is no target to
|
|
1025
|
+
prove it against, and a path shipped without a case that exercises it is a
|
|
1026
|
+
claim the bench cannot reproduce.
|
|
1027
|
+
|
|
1028
|
+
- **A bench case for it**, `gitlist-cve-2018-1000533-argv`, passing in 18.3s
|
|
1029
|
+
with the strongest control this harness can carry: the negative half is the
|
|
1030
|
+
target's **own security property** rather than a contrivance, since
|
|
1031
|
+
`escapeshellarg` is what makes `reflected` come back clean on a build that is
|
|
1032
|
+
genuinely exploitable.
|
|
1033
|
+
|
|
1034
|
+
Three details of the probe were measured there rather than reasoned, and each
|
|
1035
|
+
is the difference between confirming and reporting a clean negative against a
|
|
1036
|
+
target that executes. The probe ends in `#`, not the `;` the published
|
|
1037
|
+
write-ups use: git appends the path it would have paged, so `;` leaves it as a
|
|
1038
|
+
bare command, git exits 255, and GitList's
|
|
1039
|
+
`catch (RuntimeException) { return false; }` throws the output away — the
|
|
1040
|
+
command runs and nothing comes back. The pager's output imitates git grep's
|
|
1041
|
+
own `tree:file:line:match` format, because whatever consumes that stdout is an
|
|
1042
|
+
application parsing git grep output, and a bare line reaches GitList and is
|
|
1043
|
+
dropped by its own regex. And the URL's branch segment has to be a pattern
|
|
1044
|
+
that matches file content, because once the query is consumed as an option the
|
|
1045
|
+
branch becomes git grep's pattern and the pager only opens when there is a
|
|
1046
|
+
file to page.
|
|
1047
|
+
|
|
1048
|
+
## [3.6.1] — 2026-10-27
|
|
1049
|
+
|
|
1050
|
+
### Fixed
|
|
1051
|
+
|
|
1052
|
+
- **A run narrowed to nothing printed the plan of a full sweep.**
|
|
1053
|
+
`sink_shape_plan` was written `selected = shapes or SINK_SHAPE_RUNGS`, so an
|
|
1054
|
+
**empty** tuple — every rung narrowed away — was read as the same thing as
|
|
1055
|
+
`None`, which means no selection was made. Those are opposite facts, and an
|
|
1056
|
+
empty tuple is falsy.
|
|
1057
|
+
|
|
1058
|
+
Measured on 3.6.0 with `--sink-shape sq --sink-env windows` (cmd.exe has no
|
|
1059
|
+
quote-breakout rung, so the intersection is empty): the run sent 0 probes and
|
|
1060
|
+
the plan listed all 8 rungs under a `sink shapes:` header with nothing after
|
|
1061
|
+
the colon. The pre-flight plan is the one output an operator is told to read
|
|
1062
|
+
*instead of* inferring the run from the traffic, and it was the output that
|
|
1063
|
+
disagreed with it. The end-of-run half was already right — `sent 0 probes`,
|
|
1064
|
+
`NOTHING WAS TESTED`, exit non-zero.
|
|
1065
|
+
|
|
1066
|
+
`None` now means the whole ladder and `()` means no rung, and the plan names
|
|
1067
|
+
the empty case rather than printing a blank header and nothing under it,
|
|
1068
|
+
because an empty list is the same quiet shrink by a different route:
|
|
1069
|
+
|
|
1070
|
+
```
|
|
1071
|
+
[detect] sink shapes: none
|
|
1072
|
+
[detect] (no rung survives the narrowing, so none of the shell methods will build a probe -- this run will report NOTHING WAS TESTED)
|
|
1073
|
+
```
|
|
1074
|
+
|
|
1075
|
+
The run-wide half of that sentence is claimed only where it holds, which
|
|
1076
|
+
the first version of this got wrong. Four methods ride the ladder and
|
|
1077
|
+
five do not, so `--methods reflected,eval` with an empty ladder still
|
|
1078
|
+
sends `eval` probes -- measured as `sent 1 probes (1 result(s)):
|
|
1079
|
+
negative=1` and exit 0, under a plan that had just predicted `NOTHING
|
|
1080
|
+
WAS TESTED`. Predicting the whole run from the ladder alone put this
|
|
1081
|
+
output back in the one state it exists to rule out. A mixed run gets the
|
|
1082
|
+
narrower sentence instead, and the condition is a set comparison rather
|
|
1083
|
+
than a probe count: a cost estimate is documented as a floor, and an
|
|
1084
|
+
aggregate method may answer with further waves once it has seen the
|
|
1085
|
+
first, so a zero estimate would be the same over-claim reached more
|
|
1086
|
+
expensively.
|
|
1087
|
+
|
|
1088
|
+
Predates 3.5.0 and was reachable before the `env` rung existed; found while
|
|
1089
|
+
adding it, because `--sink-shape env --sink-env windows` is a natural way to
|
|
1090
|
+
hit it. A second route is `--contexts raw --sink-shape sq`: an explicit
|
|
1091
|
+
`--contexts` suppresses the carriers the quote and substitution rungs ride,
|
|
1092
|
+
which is measured in the near-neighbour test rather than assumed — the first
|
|
1093
|
+
draft of that test used it expecting one rung and got none.
|
|
1094
|
+
|
|
1095
|
+
## [3.6.0] — 2026-10-27
|
|
1096
|
+
|
|
1097
|
+
### Added
|
|
1098
|
+
|
|
1099
|
+
- **A shape held back with no rung to name it could not be asked for.** 3.5.0
|
|
1100
|
+
added the Shellshock shape to `reflected` and suppressed it whenever the
|
|
1101
|
+
operator declared the sink's shape — correctly, since `--sink-raw`,
|
|
1102
|
+
`--sink-shape` and `--separators` each say the value lands inside a command
|
|
1103
|
+
the application built, and this sink has none. But the suppression read
|
|
1104
|
+
three flags directly and the ladder had no rung for it, which left two
|
|
1105
|
+
things wrong at once: there was no `--sink-shape` name that asked for the
|
|
1106
|
+
shape *instead* of the others, and the pre-flight plan — presented as an
|
|
1107
|
+
audit of the traffic about to be sent — could not say it was being held
|
|
1108
|
+
back. A ladder that shrinks quietly is indistinguishable from a target with
|
|
1109
|
+
nothing to find, which is the thing this plan exists to prevent.
|
|
1110
|
+
|
|
1111
|
+
`--sink-shape` gains **`env`**: the value reaches the shell as an
|
|
1112
|
+
environment variable rather than inside a command, and bash parses a
|
|
1113
|
+
function definition out of it on the way in. It is in the ladder by default,
|
|
1114
|
+
so no run's traffic changes; `--sink-shape env` now asks for it alone, which
|
|
1115
|
+
is one request per carrier instead of 37 against an endpoint already known
|
|
1116
|
+
to be a CGI. The separator sweep goes empty under it on purpose — the only
|
|
1117
|
+
shape left supplies its own way into the shell, the same way `--sink-shape
|
|
1118
|
+
sq` already behaved.
|
|
1119
|
+
|
|
1120
|
+
Narrowing follows the rung rather than a separate read. `--sink-raw` and
|
|
1121
|
+
`--separators` drop `env` exactly as they drop `raw`; `--sink-env windows`
|
|
1122
|
+
and `powershell` rule it out, because neither shell parses its environment
|
|
1123
|
+
that way, and a run narrowed to `--sink-shape env` on one of them builds
|
|
1124
|
+
nothing and reports `nothing-tested` rather than a clean negative.
|
|
1125
|
+
`--environments` and `--contexts` are deliberately not part of it: they are
|
|
1126
|
+
how an operator who suspects a CGI narrows.
|
|
1127
|
+
|
|
1128
|
+
`DetectionMethod._env_rung_selected` reads `effective_sink_shapes` the way
|
|
1129
|
+
`_raw_rung_selected` already does, so what is printed and what is sent
|
|
1130
|
+
cannot drift — and a test now pins that the engine's answer and the plan's
|
|
1131
|
+
line are the same read, for every narrowing.
|
|
1132
|
+
|
|
1133
|
+
## [3.5.0] — 2026-10-27
|
|
1134
|
+
|
|
1135
|
+
### Added
|
|
1136
|
+
|
|
1137
|
+
- **A CGI header sink was enumerated and could not be confirmed.** `-p all` has
|
|
1138
|
+
named headers as candidates for a long time, and the reason given in the docs
|
|
1139
|
+
was Shellshock riding `User-Agent`. Nothing in `reflected` could reach that
|
|
1140
|
+
sink: every probe it builds breaks *out* of a command the application is
|
|
1141
|
+
assembling, and a Shellshock sink has no such command — the server copies the
|
|
1142
|
+
header into the environment and a vulnerable bash runs the text after a
|
|
1143
|
+
function definition while it starts up, before the script executes a line.
|
|
1144
|
+
So the point was offered, probed, and reported `negative` about a sink nothing
|
|
1145
|
+
had asked a question it could answer.
|
|
1146
|
+
|
|
1147
|
+
`reflected` now builds one more shape: `() { :;}; echo; echo; echo
|
|
1148
|
+
RK…$((a+b))…RK` (CVE-2014-6271). The arithmetic proof and the tier are
|
|
1149
|
+
unchanged — the computed value must be present in the response and absent
|
|
1150
|
+
from the payload-free control — and the finding names the shape, because
|
|
1151
|
+
"patch bash" and "fix the application" are different remediations.
|
|
1152
|
+
|
|
1153
|
+
Three parts of it are load-bearing and each is pinned by a test:
|
|
1154
|
+
|
|
1155
|
+
- **No separator, at any rung.** The value has to *begin* with `() {`, so the
|
|
1156
|
+
sweep and `--sink-raw` leave this shape byte-identical.
|
|
1157
|
+
- **Only a context that prepends nothing carries it.** `attribute` opens with
|
|
1158
|
+
a quote and `attribute_unquoted` with a single space — one invisible
|
|
1159
|
+
character, and enough that bash no longer reads a function definition.
|
|
1160
|
+
Those contexts get no Shellshock probe rather than one that cannot confirm.
|
|
1161
|
+
- **`echo; echo;` closes the CGI header block.** The injected output arrives
|
|
1162
|
+
where the response headers belong; without the two blank lines the server
|
|
1163
|
+
reads the computed value as a malformed header, answers 500 and discards
|
|
1164
|
+
it. Measured against a fixture that models exactly that, and the fixture
|
|
1165
|
+
has its own test so it cannot stop modelling it silently.
|
|
1166
|
+
- **A declared sink shape suppresses it.** `--sink-raw`, `--sink-shape` and
|
|
1167
|
+
`--separators` each say the value lands inside a command the application
|
|
1168
|
+
built, which a Shellshock sink has none of — the same reasoning that drops
|
|
1169
|
+
the `raw` rung when separators are named. The ladder's own tests pin that
|
|
1170
|
+
every payload honours the declared shape, and they were right to fail on
|
|
1171
|
+
the first version of this, which read none of the three. `--environments`
|
|
1172
|
+
and `--contexts` are deliberately not read: they are how an operator who
|
|
1173
|
+
suspects a CGI narrows. The ladder has no rung for a value reaching bash
|
|
1174
|
+
through the environment, so there is no `--sink-shape` name asking for this
|
|
1175
|
+
shape instead, and the pre-flight plan therefore does not print it being
|
|
1176
|
+
held back — a rough edge, recorded rather than smoothed over.
|
|
1177
|
+
|
|
1178
|
+
One request per carrier — 17 of the 661 a default `reflected` run sends at
|
|
1179
|
+
`--probe-depth quick` — and sent at **both** probe depths, since the sink it
|
|
1180
|
+
reaches is reachable by no other shape and that is not the saving
|
|
1181
|
+
`--probe-depth quick` exists for.
|
|
1182
|
+
|
|
1183
|
+
**`--evade` never touches this shape**, and a `Probe` now says so with
|
|
1184
|
+
`evadable=False`. Both rungs replace spaces with `${IFS}`, which turns the
|
|
1185
|
+
value into `()${IFS}{${IFS}:;};…` — no longer a function definition, so the
|
|
1186
|
+
retry reaches nothing and comes back 200 from the very filter that refused
|
|
1187
|
+
the real probe. Measured against a CGI answering 403 to the signature:
|
|
1188
|
+
`(403, 'blocked')` had become `(200, 'negative')`, which is the false clean
|
|
1189
|
+
the verdict beside it exists to remove. A filter keyed on whitespace makes
|
|
1190
|
+
this shape unreachable by construction, since bash matched the literal
|
|
1191
|
+
`() {`, so there is nothing to evade and the run says `blocked`.
|
|
1192
|
+
|
|
1193
|
+
The field is the proper form of a guard `_escalate` already carries as a
|
|
1194
|
+
payload test for the redirect shapes, whose comment records that the
|
|
1195
|
+
build-time `evade` argument stopped doing anything when the rung became a
|
|
1196
|
+
retry. Those shapes are left on the payload test here; moving them is not
|
|
1197
|
+
this change.
|
|
1198
|
+
|
|
1199
|
+
Stated in `docs/reference.md` rather than left to be discovered: this tests
|
|
1200
|
+
CVE-2014-6271 and not the shapes that survive its patch (CVE-2014-6277,
|
|
1201
|
+
CVE-2014-6278) or the parser-state shape that writes a file instead of
|
|
1202
|
+
stdout (CVE-2014-7169), so a target patched against 6271 alone answers
|
|
1203
|
+
`negative`, which is narrower than "not vulnerable to Shellshock". A blind
|
|
1204
|
+
Shellshock sink is out of reach too — only `reflected` carries the shape.
|
|
1205
|
+
So is a **cookie crumb**, which an earlier draft of these docs claimed:
|
|
1206
|
+
`HTTP_COOKIE` is the whole `Cookie` header and an enumerated crumb keeps its
|
|
1207
|
+
name, so the parser sees `session=() { :;};` rather than a function
|
|
1208
|
+
definition — and there is no whole-`Cookie`-header point to use instead,
|
|
1209
|
+
because `Cookie` is excluded from header enumeration in favour of its crumbs.
|
|
1210
|
+
A header point is the carrier that reaches this sink.
|
|
1211
|
+
|
|
1212
|
+
No bench case yet. The unit tests prove the method reaches the right verdict
|
|
1213
|
+
from a modelled CGI; only a bench case proves it against a real
|
|
1214
|
+
bash-behind-Apache, and the README claims nothing it has not run.
|
|
1215
|
+
|
|
1216
|
+
## [3.4.0] — 2026-10-26
|
|
1217
|
+
|
|
1218
|
+
### Added
|
|
1219
|
+
|
|
1220
|
+
- **A session token was one opaque leaf, and the fields inside it are what the
|
|
1221
|
+
application reads.** A base64 `state` parameter, JSON in a cookie, a bearer
|
|
1222
|
+
token: the enumerator could name the carrier and had no way to reach anything
|
|
1223
|
+
in it. `--auto-params blob` now adds a point per field inside, named
|
|
1224
|
+
`carrier>field` — `state>role`, `tok>sub` — across query values, form values,
|
|
1225
|
+
JSON string leaves and cookie or header values.
|
|
1226
|
+
|
|
1227
|
+
The carrier **keeps its own point**, because a sink may read the token before
|
|
1228
|
+
decoding it. One layer only, at most 64 fields per blob.
|
|
1229
|
+
|
|
1230
|
+
**What counts as a blob** is narrow on purpose: it has to look like base64 of
|
|
1231
|
+
a useful length, decode as UTF-8, and parse as a JSON object or array. A
|
|
1232
|
+
scalar is refused — plenty of accidental base64 decodes to a number or a word,
|
|
1233
|
+
and a scalar carries no field to address. A two-segment token is not a JWT.
|
|
1234
|
+
The inner format is JSON only; a base64 XML blob (SAML) is not covered,
|
|
1235
|
+
because the common binding is deflate-then-base64 over a signed assertion,
|
|
1236
|
+
which is the signed-envelope case the `xml` kind already refuses.
|
|
1237
|
+
|
|
1238
|
+
**The marker goes outside the encoding.** base64 destroys a marker placed in
|
|
1239
|
+
the decoded document — measured, `'FUZZ' in base64(json_with_FUZZ)` is false —
|
|
1240
|
+
so the request would have gone out carrying the blob unchanged and the run
|
|
1241
|
+
would have reported `negative` about a point it never tested. The marker
|
|
1242
|
+
replaces the whole carrier value instead, and the payload is put inside the
|
|
1243
|
+
blob when the request is rendered: into the decoded document, re-encoded, and
|
|
1244
|
+
then through the carrier's **own** encoder. A blob in a query value is still
|
|
1245
|
+
percent-encoded; one in a JSON leaf is still JSON-escaped. Getting that
|
|
1246
|
+
second step wrong put raw base64 containing `+` into a query string, where `+`
|
|
1247
|
+
is a space.
|
|
1248
|
+
|
|
1249
|
+
**A JWT's signature is invalidated**, necessarily, and that is the point
|
|
1250
|
+
rather than a flaw: an application that accepts the rewritten token is not
|
|
1251
|
+
verifying it, which is itself a finding, and one that rejects it answers 4xx
|
|
1252
|
+
where the captured request got through — reported as `blocked`, not as a clean
|
|
1253
|
+
negative.
|
|
1254
|
+
|
|
1255
|
+
That took **one extra request per blob point**, found by review and not by me:
|
|
1256
|
+
the payload-free control carries the canary *inside* the blob, so it carries a
|
|
1257
|
+
rewritten one too, and a verifying target refuses the control exactly as it
|
|
1258
|
+
refuses every probe. `payload_refused` needs the control to have got through,
|
|
1259
|
+
so it answered no, and the run reported `negative` about a sink no probe had
|
|
1260
|
+
reached — the one outcome this tool exists to refuse, under documentation that
|
|
1261
|
+
claimed `blocked`. A blob point now also fires a **baseline** that puts the
|
|
1262
|
+
captured value back verbatim and lends only its status; the evidence
|
|
1263
|
+
differential still rests on the canary control, which is the comparison that
|
|
1264
|
+
has to hold the payload constant.
|
|
1265
|
+
|
|
1266
|
+
An `Authorization: Bearer <token>` header was **advertised and never
|
|
1267
|
+
reached**, also found by review: the patterns anchor on the encoded form
|
|
1268
|
+
alone, so the header value as read matched none of them and the bearer case
|
|
1269
|
+
produced no points at all. The scheme word is split off before decoding and
|
|
1270
|
+
put back when the value is rebuilt — stripping it without restoring it would
|
|
1271
|
+
send a header the target cannot parse. The header and signature segments are preserved byte for byte,
|
|
1272
|
+
so a rejection is about the claim and not about something else RCEKit changed.
|
|
1273
|
+
|
|
1274
|
+
The inner document is re-serialised compactly, so the rebuilt value is not
|
|
1275
|
+
byte-identical to the captured one even where the field is unchanged. JSON has
|
|
1276
|
+
no offsets to splice the way the XML scanner does. The payload-free control is
|
|
1277
|
+
rendered through the same path, so probe and control still differ in the field
|
|
1278
|
+
under test and in nothing else.
|
|
1279
|
+
|
|
1280
|
+
### Changed
|
|
1281
|
+
|
|
1282
|
+
- **An injection *location* may now be a callable, not only a registry name.**
|
|
1283
|
+
A blob has to be rebuilt per payload, which the encoder could not do because
|
|
1284
|
+
it is a pure function of the payload and never sees the body. Threading a
|
|
1285
|
+
transform through `_fire`, `_fire_channels`, `_escalate`, `run_detection` and
|
|
1286
|
+
`run_verification` was the obvious answer and the wrong one: `body_location`
|
|
1287
|
+
already flows through all five untouched and is consumed in exactly one
|
|
1288
|
+
place, so the location carries the transform and nothing else changed. The
|
|
1289
|
+
same threading is what shifted a positional caller's arguments on 3.1.1.
|
|
1290
|
+
|
|
1291
|
+
`--verify-body-location` is unaffected and gains no value: a blob location is
|
|
1292
|
+
derived per point and never operator-supplied, so the CLI's choices still
|
|
1293
|
+
come from the encoder registry alone.
|
|
1294
|
+
|
|
1295
|
+
- **`_build_verify_request` takes a `header_location`.** It was the one of the
|
|
1296
|
+
three slots that could not be chosen, hard-coded to single-line escaping
|
|
1297
|
+
because no point had needed anything else; a blob in a cookie or an
|
|
1298
|
+
`Authorization` value does. **Appended** after `mark`, like `mark` itself was,
|
|
1299
|
+
for the reason the comment above that parameter records.
|
|
1300
|
+
|
|
1301
|
+
- **The kind filter decides what enumeration *reports*, not what it scans.** A
|
|
1302
|
+
blob is an encoding of a value that already has a point, so its carriers have
|
|
1303
|
+
to be walked to find one. Gating the scan made `--auto-params blob` mean
|
|
1304
|
+
"nothing at all"; it now means "only the fields inside blobs".
|
|
1305
|
+
|
|
1306
|
+
## [3.3.0] — 2026-10-26
|
|
1307
|
+
|
|
1308
|
+
### Added
|
|
1309
|
+
|
|
1310
|
+
- **A boolean and a `null` are places the application reads input, and were the
|
|
1311
|
+
last scalars excluded.** An empty JSON string and an empty form value were
|
|
1312
|
+
candidates already; `{"debug": true}` was not, so a field that reaches a shell
|
|
1313
|
+
through a boolean flag could not be tested at all.
|
|
1314
|
+
|
|
1315
|
+
The exclusion was inherited from the *response* walk, where it is right for a
|
|
1316
|
+
reason that does not hold on this side: a response channel is somewhere a
|
|
1317
|
+
computed value could surface, and `true` can carry none, so searching it is a
|
|
1318
|
+
wasted comparison. A request leaf is somewhere the application reads attacker
|
|
1319
|
+
input. The two walks ask opposite questions, and a test now pins that the
|
|
1320
|
+
response side still skips them.
|
|
1321
|
+
|
|
1322
|
+
The payload goes in as a JSON **string**, the only form that leaves the body
|
|
1323
|
+
parseable, so the leaf's type changes from boolean or null to string. An
|
|
1324
|
+
endpoint that validates the type answers 4xx where the payload-free control
|
|
1325
|
+
got through, which the engine already reports as `blocked` rather than
|
|
1326
|
+
`negative` — a refusal, not a clean result. That is the reason these are worth
|
|
1327
|
+
enumerating anyway: the run says the sink was never reached instead of saying
|
|
1328
|
+
the target is fine. Objects and arrays are still not candidates, because they
|
|
1329
|
+
carry no value of their own.
|
|
1330
|
+
|
|
1331
|
+
- **A query or form key posted more than once had only its first occurrence
|
|
1332
|
+
tested.** A checkbox array and a repeated filter both post one name several
|
|
1333
|
+
times. Addressing by name alone rewrote the first pair for every candidate, so
|
|
1334
|
+
every later one was counted as covered and probed nowhere — the same defect a
|
|
1335
|
+
repeated multipart field had, fixed the same way.
|
|
1336
|
+
|
|
1337
|
+
Each occurrence is now its own point, addressed by **position** with the name
|
|
1338
|
+
as the key placement re-checks, so a point that no longer describes the request
|
|
1339
|
+
rewrites nothing rather than the wrong parameter. The index is shown as `(#1)`,
|
|
1340
|
+
`(#2)` only where the key repeats, because it is noise on the common one.
|
|
1341
|
+
|
|
1342
|
+
`_mark_urlencoded_param` takes the position as an **appended** argument.
|
|
1343
|
+
Threading a parameter through this file has already shifted a positional
|
|
1344
|
+
caller's arguments once. Without an index — the `-p NAME` path, which has no
|
|
1345
|
+
position to give — **every** matching pair is rewritten, exactly as this
|
|
1346
|
+
helper did before the index existed. The two callers ask different questions:
|
|
1347
|
+
enumeration asks which of these positions is the sink, `-p NAME` asks for the
|
|
1348
|
+
name wherever it goes. Keeping only the first there would be a false negative
|
|
1349
|
+
wearing a tidy diff, because an application that reads the *last* value of a
|
|
1350
|
+
repeated key would never see the payload.
|
|
1351
|
+
|
|
1352
|
+
## [3.2.0] — 2026-10-23
|
|
1353
|
+
|
|
1354
|
+
### Added
|
|
1355
|
+
|
|
1356
|
+
- **An upload's filename is a value the application reads, and it had no
|
|
1357
|
+
injection point.** Only part *content* was replaceable: `place_injection_point`
|
|
1358
|
+
rebuilt each part as `[head, content]` and preserved the header verbatim, so
|
|
1359
|
+
`filename="a.txt"` was unreachable. A filename is where a traversal, a double
|
|
1360
|
+
extension, or a name a converter shells out with has to go — the routes from an
|
|
1361
|
+
upload to execution — and the reference page said outright that a file part's
|
|
1362
|
+
`filename` "stays as captured".
|
|
1363
|
+
|
|
1364
|
+
The new `filename` kind is the inverse of `multipart`, and they are separate
|
|
1365
|
+
kinds because they are separate values: the content is what an upload
|
|
1366
|
+
*contains*, the filename is what the application is told it is called. Only
|
|
1367
|
+
parts that declare one are candidates, each addressed by part index and
|
|
1368
|
+
verified by its field name, exactly as the content points are and for the same
|
|
1369
|
+
reason — several parts may share a name, and matching on the name alone rewrote
|
|
1370
|
+
the first of them for every candidate. The part header changes; the content,
|
|
1371
|
+
the other parameters, the part's other headers and every byte outside the
|
|
1372
|
+
quotes stay as captured, because a parser on the far side reads them too.
|
|
1373
|
+
|
|
1374
|
+
Three characters cannot reach a part header as themselves, and the reasons are
|
|
1375
|
+
not the same. The quote and the backslash are syntax: RFC 7578's quoted-string
|
|
1376
|
+
form needs them escaped or the name is truncated at the payload's own quote,
|
|
1377
|
+
and the backslash is escaped first so it does not escape the escape the quote
|
|
1378
|
+
just gained — the `cmd.exe` probes carry quotes, so dropping such probes would
|
|
1379
|
+
have cost that dialect this whole carrier. **CR and LF are replaced with a
|
|
1380
|
+
space, and that one is a safety decision rather than a syntactic one:** a
|
|
1381
|
+
newline in a part header does not corrupt the request, it *forges a new part*,
|
|
1382
|
+
which is a different vulnerability and one no notice afterwards can undo. A
|
|
1383
|
+
payload that needs a newline there is testing header injection, not a filename
|
|
1384
|
+
sink. A traversal or a double extension contains none of the three and goes on
|
|
1385
|
+
the wire unchanged.
|
|
1386
|
+
|
|
1387
|
+
`--verify-body-location` gained `multipart_filename` for a hand-written
|
|
1388
|
+
capture, and the point names that encoder for itself rather than the engine
|
|
1389
|
+
locating the marker to work it out — the same mechanism an XML point uses, and
|
|
1390
|
+
now one function (`point_body_location`) so the list of position-encoded kinds
|
|
1391
|
+
exists once.
|
|
1392
|
+
|
|
1393
|
+
**The flag's choices are now derived from the encoder registry** rather than
|
|
1394
|
+
written out beside it. They were two lists, and that is exactly how far they
|
|
1395
|
+
drifted inside this change: the encoder was registered, documented as a flag
|
|
1396
|
+
value in the reference, the guide and this entry, and left out of the parser's
|
|
1397
|
+
copy, so the CLI answered `invalid choice` to its own documentation and the
|
|
1398
|
+
encoder was reachable only through an enumerated point. A test now reads the
|
|
1399
|
+
choices out of argparse's own error rather than off the helper, because
|
|
1400
|
+
comparing the helper with the registry would pass while someone re-hardcoded
|
|
1401
|
+
the parser's list.
|
|
1402
|
+
|
|
1403
|
+
### Fixed
|
|
1404
|
+
|
|
1405
|
+
- **`filename` ends in `name`, and the field-name pattern had no boundary.**
|
|
1406
|
+
Pre-existing, and found while building the kind above rather than reported:
|
|
1407
|
+
`Content-Disposition: form-data; filename="second.png"; name="report"`
|
|
1408
|
+
enumerated as a field called `second.png`, because an unanchored `name="..."`
|
|
1409
|
+
matches inside `filename="..."`. Parameter order is free in RFC 7578 and
|
|
1410
|
+
libraries differ, so that is an ordinary capture rather than a curiosity, and
|
|
1411
|
+
on such a part every content point was labelled with the upload's filename
|
|
1412
|
+
instead of its field.
|
|
1413
|
+
|
|
1414
|
+
Fixed here rather than separately because the new kind uses the field name as
|
|
1415
|
+
its identity and as the key its placement re-checks, so the kind is wrong
|
|
1416
|
+
without it. Both orderings are now read, and the near neighbours are pinned: a
|
|
1417
|
+
part with only a filename, a disposition with no space before its first
|
|
1418
|
+
parameter, and the unquoted form that is still deliberately not read.
|
|
1419
|
+
|
|
1420
|
+
## [3.1.2] — 2026-10-17
|
|
1421
|
+
|
|
1422
|
+
### Fixed
|
|
1423
|
+
|
|
1424
|
+
- **A JSON body with a byte-order mark yielded no injection point at all.** The
|
|
1425
|
+
same U+FEFF that used to send an XML body down the form branch sent a JSON body
|
|
1426
|
+
nowhere: `str.strip()` leaves the mark, so the test on the first character said
|
|
1427
|
+
"not JSON", and `-p NAME` could not reach a JSON field either. .NET clients
|
|
1428
|
+
emit a mark routinely.
|
|
1429
|
+
|
|
1430
|
+
Fixing that test alone would not have been enough, and that is the shape of the
|
|
1431
|
+
bug worth recording: `json.loads` **rejects** the mark outright
|
|
1432
|
+
(`Unexpected UTF-8 BOM`), so the branch and the parse had to agree. Five
|
|
1433
|
+
request-side sites did not — two branch tests, a third in `-p NAME`'s own path,
|
|
1434
|
+
and three parses behind them.
|
|
1435
|
+
|
|
1436
|
+
The mark is now stripped through one shared helper wherever RCEKit decides what
|
|
1437
|
+
a body *is*, which is also where the XML branch already asked, so the two
|
|
1438
|
+
carriers cannot drift apart again. The constant moved out of the XML block and
|
|
1439
|
+
lost its `_XML_` prefix, since both now use it.
|
|
1440
|
+
|
|
1441
|
+
Because the JSON path re-serialises, **the mark is put back on** the body that
|
|
1442
|
+
goes to the target: the capture carried it and the application accepted it, so
|
|
1443
|
+
sending it back is the faithful answer, and the payload-free control is rendered
|
|
1444
|
+
through the same path, so probe and control still differ in the field under test
|
|
1445
|
+
and in nothing else.
|
|
1446
|
+
|
|
1447
|
+
A mark is not a licence to guess. A body that is still neither JSON nor XML once
|
|
1448
|
+
it is stripped goes down exactly the paths it did before.
|
|
1449
|
+
|
|
1450
|
+
The mark is removed **and then** whitespace, in that order, and the order is
|
|
1451
|
+
the whole of it: `str.strip()` stops at a mark, so a body whose mark is
|
|
1452
|
+
followed by a newline still has that newline in front of its delimiter after
|
|
1453
|
+
stripping — and every test on the first character then says "not JSON" about a
|
|
1454
|
+
document `json.loads` accepts, and "not XML" about one the scanner reads. That
|
|
1455
|
+
is the same branch-disagrees-with-parse failure this entry is about, reached by
|
|
1456
|
+
writing the rule correctly and the order backwards. One helper named for the
|
|
1457
|
+
order now owns it, and a test fails if the two are swapped.
|
|
1458
|
+
|
|
1459
|
+
- **A form key behind a byte-order mark was addressable only as an invisible
|
|
1460
|
+
name.** A mark sits in front of the *first* key, where it is an artefact of how
|
|
1461
|
+
the body was encoded rather than part of the field name, so enumeration
|
|
1462
|
+
reported `<mark>cmd` — a report with an invisible character in it — and
|
|
1463
|
+
`-p cmd` could not find the field at all. The point is now named without the
|
|
1464
|
+
mark, while the body keeps its own bytes: the key is written back exactly as
|
|
1465
|
+
captured, because a urlencoded parser on the far side sees the mark too, and a
|
|
1466
|
+
key RCEKit rewrote is a key it changed.
|
|
1467
|
+
|
|
1468
|
+
## [3.1.1] — 2026-10-17
|
|
1469
|
+
|
|
1470
|
+
### Fixed
|
|
1471
|
+
|
|
1472
|
+
- **A capture carrying its own `FUZZ` had the payload put in two places.** The
|
|
1473
|
+
delivery layer substitutes at *every* occurrence of the marker, which is right
|
|
1474
|
+
for a marker the operator wrote — two `FUZZ` in a request mean both — and wrong
|
|
1475
|
+
for one RCEKit inserted. Enumeration places its own marker at a chosen point,
|
|
1476
|
+
and a point wins over an inline marker by design, so a capture containing the
|
|
1477
|
+
literal `FUZZ` ended up with two markers: the payload landed in a field nobody
|
|
1478
|
+
selected, and a confirmation could not be attributed to the point under test.
|
|
1479
|
+
Measured for `xml`, `json`, `form` and `query` alike, so it was not specific to
|
|
1480
|
+
any one carrier.
|
|
1481
|
+
|
|
1482
|
+
Enumeration now marks each point with a token of its own whenever — and only
|
|
1483
|
+
when — the capture already contains the default marker, and the run says so.
|
|
1484
|
+
The captured `FUZZ` then goes to the target as the value it is. The swap is
|
|
1485
|
+
conditional because `FUZZ` is what the exports, the documentation and the
|
|
1486
|
+
inline path all name, so it is left alone wherever it cannot collide; the token
|
|
1487
|
+
keeps the `FUZZ` prefix so a marked request still reads as marked.
|
|
1488
|
+
|
|
1489
|
+
**`-p NAME` never reached this, and is deliberately unchanged.** A pre-existing
|
|
1490
|
+
marker sends it down the *inline* path before the parameter is ever placed, so
|
|
1491
|
+
giving it a marker of its own would change which place the run tests. The
|
|
1492
|
+
unbounded substitution is also unchanged: the operator-written case needs it,
|
|
1493
|
+
and this only stops RCEKit's own marker colliding with theirs.
|
|
1494
|
+
|
|
1495
|
+
What this does not change: nothing differs on the wire for a capture without a
|
|
1496
|
+
literal `FUZZ` in it, which is every capture the test suite and the docs use.
|
|
1497
|
+
|
|
1498
|
+
Threading the marker to the delivery layer **appends** it to every signature it
|
|
1499
|
+
touches — `run_detection`, `run_verification`, `_fire`, `_fire_channels`,
|
|
1500
|
+
`_escalate` and `_detect_body_location` — so no existing parameter moves. In
|
|
1501
|
+
`run_detection` that puts it after `config` and `rng` rather than beside
|
|
1502
|
+
`body_location` where it belongs by meaning, and deliberately: inserting it in
|
|
1503
|
+
the obvious place shifted those two along by one, so a caller passing `config`
|
|
1504
|
+
positionally bound a dict to `mark` and the first delivery raised `TypeError`
|
|
1505
|
+
from `str.replace`. A test pins the ordering per signature, because the fix
|
|
1506
|
+
looks like untidiness and the next tidy-up would reintroduce the break.
|
|
1507
|
+
|
|
1508
|
+
## [3.1.0] — 2026-10-17
|
|
1509
|
+
|
|
1510
|
+
### Added
|
|
1511
|
+
|
|
1512
|
+
- **An XML or SOAP body is enumerated, and until now it had one injection point
|
|
1513
|
+
that could not confirm anything.** No branch recognised XML, so an envelope
|
|
1514
|
+
fell through to the **form** branch — which it reaches, because a prolog and
|
|
1515
|
+
every attribute contain `=`. Splitting it on `&` produced exactly one point,
|
|
1516
|
+
named `<?xml version`, and every probe for it rewrote the prolog. The run
|
|
1517
|
+
printed a point and a probe count while no element, attribute or CDATA section
|
|
1518
|
+
in the document was ever tested. That is the failure that matters: coverage
|
|
1519
|
+
reported and not delivered reads exactly like a clean target.
|
|
1520
|
+
|
|
1521
|
+
The new `xml` kind addresses every element's character data, every attribute
|
|
1522
|
+
value and every CDATA section by path — `soap:Body/getUser/name`,
|
|
1523
|
+
`getUser/@id`, `note/cdata()`. A repeated sibling is indexed from the second
|
|
1524
|
+
occurrence (`items/item`, `items/item[2]`), the same way a repeated multipart
|
|
1525
|
+
field is labelled, so the later ones are reachable rather than counted as
|
|
1526
|
+
covered. `xmlns` declarations are not candidates: a payload in a namespace URI
|
|
1527
|
+
renames the element instead of reaching anything that reads its value.
|
|
1528
|
+
|
|
1529
|
+
An element with no element children is a candidate **even when it is empty or
|
|
1530
|
+
holds only whitespace**, because `<cmd></cmd>` and `<cmd> </cmd>` are the
|
|
1531
|
+
ordinary shape of a field in a SOAP template, and a JSON `""` leaf and a form
|
|
1532
|
+
`key=` were candidates already — XML would have been the one carrier that
|
|
1533
|
+
dropped them, so an envelope of placeholders could report no body injection
|
|
1534
|
+
point at all. Whitespace between two *elements* is still formatting and yields
|
|
1535
|
+
nothing: the test is whether the element had an element child, not whether its
|
|
1536
|
+
text is blank, because the blank test answers the same for a placeholder field
|
|
1537
|
+
and for the indentation of a pretty-printed envelope. A self-closing `<cmd/>`
|
|
1538
|
+
is not a candidate, for the reason a missing JSON key is not.
|
|
1539
|
+
|
|
1540
|
+
The body is recognised **byte-order mark and all**. `str.strip()` does not
|
|
1541
|
+
remove U+FEFF, and the cost of missing it is not a missed point but the wrong
|
|
1542
|
+
branch: a body with a prolog contains `=`, so a marked envelope would have
|
|
1543
|
+
fallen through to the form branch and produced the single bogus point this
|
|
1544
|
+
kind exists to replace. .NET clients emit a mark routinely.
|
|
1545
|
+
|
|
1546
|
+
The document is **spliced at the value's offsets**, never parsed and
|
|
1547
|
+
re-emitted. Two reasons, and the second decided it. A signed envelope
|
|
1548
|
+
(WS-Security / XML-DSig) covers its own bytes with a digest, and
|
|
1549
|
+
parse-then-emit loses attribute order, insignificant whitespace and the
|
|
1550
|
+
prolog's quoting style — none of which XML requires preserved and all of which
|
|
1551
|
+
the digest covers. And a capture aimed at an **XXE** sink carries a DOCTYPE
|
|
1552
|
+
with an external entity, because that is exactly what the operator is trying to
|
|
1553
|
+
prove the *target* resolves; a real parser resolves it here instead, which
|
|
1554
|
+
turns the tool into the thing it is testing for. A scanner interprets no
|
|
1555
|
+
entity, so there is nothing to resolve, no billion laughs to expand and no
|
|
1556
|
+
retrieval to disable.
|
|
1557
|
+
|
|
1558
|
+
A signed body is therefore not probed, and the run **says so** rather than
|
|
1559
|
+
reporting zero points — every probe would come back refused for a reason that
|
|
1560
|
+
has nothing to do with the sink, which reads exactly like a filter. "Signed"
|
|
1561
|
+
means a `Signature` element **in** the XML-DSig namespace, and both halves are
|
|
1562
|
+
required: the namespace URI alone appears wherever a schema predeclares the
|
|
1563
|
+
prefix without signing anything, and an element named `Signature` is ordinary
|
|
1564
|
+
in plenty of schemas, so either test on its own would suppress every point in
|
|
1565
|
+
a document that is perfectly testable. Comments and CDATA sections count
|
|
1566
|
+
neither way — a tag or a declaration written inside one is an example or a
|
|
1567
|
+
payload, not markup, and a commented-out `<!-- <ds:Signature> -->` reached the
|
|
1568
|
+
same wrong answer by a second route.
|
|
1569
|
+
|
|
1570
|
+
- **`--verify-body-location` gained `xml_text`, `xml_attr` and `xml_cdata`**, and
|
|
1571
|
+
the automatic choice now reads the marker's *position* rather than the body's
|
|
1572
|
+
type. The escaping an XML payload needs is not a property of the body: a
|
|
1573
|
+
payload in an attribute has to escape the quote that delimits it, one in
|
|
1574
|
+
character data does not, and one inside CDATA must not be escaped at all or the
|
|
1575
|
+
sink receives `&&` literally. The target's parser undoes the escaping,
|
|
1576
|
+
so the sink receives `a && b` from `a && b` — the same reason
|
|
1577
|
+
`json_string` escapes rather than percent-encodes. Sent raw, a single `&` or
|
|
1578
|
+
`<` makes the body not-well-formed and the request is rejected before anything
|
|
1579
|
+
reads the value, which is a whole class of sink answering `negative` for a
|
|
1580
|
+
reason that has nothing to do with the sink. An application that scrapes the
|
|
1581
|
+
envelope with a regex instead of parsing it still needs
|
|
1582
|
+
`--verify-body-location raw`, and can now say so.
|
|
1583
|
+
|
|
1584
|
+
`xml_cdata` leaves the payload alone except for the one sequence that would end
|
|
1585
|
+
the section, which it splits across a section boundary — the bytes the sink
|
|
1586
|
+
receives are unchanged.
|
|
1587
|
+
|
|
1588
|
+
Each enumerated point **carries the shape of its own value**, so the escaping
|
|
1589
|
+
is never recovered by locating the marker. The delivery layer replaces every
|
|
1590
|
+
occurrence of `FUZZ`, so a capture that already contains a literal `FUZZ` of
|
|
1591
|
+
its own has two, and reading the first one picked the other span's shape: a
|
|
1592
|
+
probe aimed at element text was escaped as CDATA, its `&` went on the wire
|
|
1593
|
+
bare, and the target refused to parse the document — a whole sink answering
|
|
1594
|
+
`negative` for a reason that has nothing to do with the sink. For a
|
|
1595
|
+
hand-written `--verify-data` envelope the marker is still located, and where
|
|
1596
|
+
its occurrences fall in values of more than one shape the body falls through
|
|
1597
|
+
to `raw` rather than a silent guess.
|
|
1598
|
+
|
|
1599
|
+
### Changed
|
|
1600
|
+
|
|
1601
|
+
- **`--auto-params form` against an XML body now finds no body point**, where it
|
|
1602
|
+
used to find the one that tested nothing. The branch is chosen by the body's
|
|
1603
|
+
own shape and the kind filter is applied inside it, so an envelope can no
|
|
1604
|
+
longer be read as `a=1&b=2`.
|
|
1605
|
+
|
|
293
1606
|
## [3.0.1] — 2026-10-01
|
|
294
1607
|
|
|
295
1608
|
### Fixed
|
|
@@ -2751,6 +4064,23 @@ this file and have not been restated here.
|
|
|
2751
4064
|
|
|
2752
4065
|
|
|
2753
4066
|
[Unreleased]: https://github.com/kabiri-labs/rcekit/compare/v2.36.0...HEAD
|
|
4067
|
+
[3.12.1]: https://github.com/kabiri-labs/rcekit/compare/v3.12.0...v3.12.1
|
|
4068
|
+
[3.12.0]: https://github.com/kabiri-labs/rcekit/compare/v3.11.0...v3.12.0
|
|
4069
|
+
[3.11.0]: https://github.com/kabiri-labs/rcekit/compare/v3.10.0...v3.11.0
|
|
4070
|
+
[3.10.0]: https://github.com/kabiri-labs/rcekit/compare/v3.9.0...v3.10.0
|
|
4071
|
+
[3.9.0]: https://github.com/kabiri-labs/rcekit/compare/v3.8.0...v3.9.0
|
|
4072
|
+
[3.8.0]: https://github.com/kabiri-labs/rcekit/compare/v3.7.1...v3.8.0
|
|
4073
|
+
[3.7.1]: https://github.com/kabiri-labs/rcekit/compare/v3.7.0...v3.7.1
|
|
4074
|
+
[3.7.0]: https://github.com/kabiri-labs/rcekit/compare/v3.6.1...v3.7.0
|
|
4075
|
+
[3.6.1]: https://github.com/kabiri-labs/rcekit/compare/v3.6.0...v3.6.1
|
|
4076
|
+
[3.6.0]: https://github.com/kabiri-labs/rcekit/compare/v3.5.0...v3.6.0
|
|
4077
|
+
[3.5.0]: https://github.com/kabiri-labs/rcekit/compare/v3.4.0...v3.5.0
|
|
4078
|
+
[3.4.0]: https://github.com/kabiri-labs/rcekit/compare/v3.3.0...v3.4.0
|
|
4079
|
+
[3.3.0]: https://github.com/kabiri-labs/rcekit/compare/v3.2.0...v3.3.0
|
|
4080
|
+
[3.2.0]: https://github.com/kabiri-labs/rcekit/compare/v3.1.2...v3.2.0
|
|
4081
|
+
[3.1.2]: https://github.com/kabiri-labs/rcekit/compare/v3.1.1...v3.1.2
|
|
4082
|
+
[3.1.1]: https://github.com/kabiri-labs/rcekit/compare/v3.1.0...v3.1.1
|
|
4083
|
+
[3.1.0]: https://github.com/kabiri-labs/rcekit/compare/v3.0.1...v3.1.0
|
|
2754
4084
|
[3.0.1]: https://github.com/kabiri-labs/rcekit/compare/v3.0.0...v3.0.1
|
|
2755
4085
|
[3.0.0]: https://github.com/kabiri-labs/rcekit/compare/v2.45.7...v3.0.0
|
|
2756
4086
|
[2.45.7]: https://github.com/kabiri-labs/rcekit/compare/v2.45.6...v2.45.7
|