Skip to content

feat(skill): php2shell - gated session.upload_progress LFI-to-RCE skill with vendored PoCs - #113

Merged
BaaRai merged 1 commit into
mainfrom
feat/php2shell-skill
Oct 21, 2026
Merged

BaaRai merged 1 commit into
mainfrom
feat/php2shell-skill

Conversation

@BaaRai

@BaaRai BaaRai commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Implements #109: the gated php2shell detection skill plus the vendored upstream PoCs.

  • skills/php2shell/SKILL.md: chain-1 workflow (upload_progress filename injection + app LFI -> RCE) behind hard gates - authorized targets only, program zero-day policy checked before any live attempt (PHP patches 8.2.35/8.3.36/8.4.27/8.5.12 dated 2026-10-21; most programs treat component zero-days within 14 days as reportable-but-unpaid), passive fingerprint before exploitation, lab-first practice, chains 2/3 (UAF, serializer mismatch) lab-only, one-shot marker verification
  • scripts/poc/php2shell/: the three upstream verify scripts + the self-building docker lab + upstream ANALYSIS.md and README, with an MIT LICENSE file (upstream declares MIT in its README without shipping a LICENSE file)
  • discoverability covered by TestShippedSkillsParseCleanly (verified locally: ok)

Rationale: a Medium LFI finding on a PHP target becomes Critical RCE when the target runs default session settings; the skill exists so workers reach for the upgrade path safely instead of improvising memory-corstruction attempts.

…ll with vendored PoCs

Implements #109. Skills ship the chain-1 workflow (session file injection
through upload_progress filename + app LFI -> RCE, CVE-2026-109618/109619)
with hard gates: authorized targets only, program zero-day policy checked
before any live attempt (patches landed 2026-10-21 for 8.2-8.5), passive
detection before exploitation, lab-first practice via the vendored docker
lab, chains 2/3 (UAF, serializer mismatch) marked lab-only, one-shot
verification with a marker. Upstream PoCs vendored under scripts/poc/php2shell
with attribution and the MIT notice (upstream declares MIT in its README).
@BaaRai
BaaRai merged commit 355d3a3 into main Oct 21, 2026
3 checks passed
murilosoave pushed a commit to murilosoave/ARTEX that referenced this pull request Oct 25, 2026
feat(skill): php2shell - gated session.upload_progress LFI-to-RCE skill with vendored PoCs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant