Skip to content
Back to evidence wall

PHPUnit / CVE-2017-9841

Code injection in a test helper

Historical vulnerabilityDetection match (historical test)Packagist

A web-accessible legacy eval-stdin.php can execute PHP supplied in an HTTP request body.

What this evidence supports

Historical focused scan matched eval-stdin.php:3 as a candidate. No web SAPI execution or fixed-version comparison was performed.

Test method

Focused AI review of the 5.6.2 helper, retaining the candidate verdict and location. The record includes the original report digest.

Mode
focused
Finding status
candidate
Location
eval-stdin.php:3
Download public record (JSON)

Public detection evidence snapshot

eval-stdin.php:3 passes php://input to eval. HTTP accessibility could expose execution of request-supplied PHP.

codex: no_verdict. A model invocation failed; no valid review verdict was recorded, leaving a candidate.

Finder
claude (Anthropic alias)
Verifier and verdict
codex (OpenAI alias): no_verdict
Tool version
Not recorded in historical report (schema v2)
Model versions
Exact model versions not recorded; aliases only
Historical scope
Single file: eval-stdin.php; focused deep AI review; no truncation recorded

Rerun detection

Install the Vettalon CLI and configure your models and credentials in config.toml. These steps isolate the vulnerable file for focused review. Model and rule versions may differ; identical results are not guaranteed. Deep mode sends source and context to configured models. This is detection only; it does not run the upstream application or verify exploitation.

git clone --branch 5.6.2 --depth 1 https://github.com/sebastianbergmann/phpunit.git phpunit-case
mkdir -p phpunit-focused
cp phpunit-case/src/Util/PHP/eval-stdin.php phpunit-focused/
vettalon scan ./phpunit-focused --profile deep --config ./config.toml --max-modules 8 --cross-check-top 8 --report ./phpunit-result.json --no-prior

Verifiable original-report excerpt

The excerpt preserves the original finding and any valid review text. The original report is not public. Its digest differs from the excerpt digest; curation is not a signature, vulnerability confirmation or trusted execution proof. The tag and line reference does not establish historical source bytes.

Download finding and review excerpt (JSON)
Original scan run status
incomplete / units_failed
Excerpt artifact SHA-25605cf2431070873402b901cea2e0461be58cd2a133dc52dfce9769a1942189055

The artifact is fetched and checked only after you press the button.

Open original JSON

Limits and prerequisites

Requires an HTTP-accessible test helper. This record contains no end-to-end exploit evidence and claims no new discovery.

Sources and attribution

Previously disclosed vulnerability; see the advisory for source and analyst attribution. Vettalon performed detection only.

Original detection report SHA-256

For comparison by holders of the original report. The download is a curated record, not the raw scan report.

0949c8ab616480fb25c5c781f03f98a0eb8262363239fda7a1f8db3f77131e7b