dinosn GitHub avatar

liferay-ga4-rce-research

dinosn

A systematic security audit of the end-of-life Liferay Portal CE 7.0.3 GA4 using the RAPTOR loop-hunt methodology, uncovering 9 live-verified vulnerabilities including unauthenticated remote code execution (CVE-2020-7961), several new CVEs, and providing reproducible Docker setup and validation scripts.

Stars

5

7-day growth

No data

Forks

1

Open issues

0

License

No data

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Demonstrates a rigorous, multi-agent (25 generators, 22 judges, 9 validators) methodology for vulnerability discovery, with independent code-based refutation and live verification against a real Docker instance. It not only reproduces a known critical RCE but also uncovers multiple previously unknown flaws in an EOL product, providing detailed evidence and a ready-to-use validation script.

Who it is for

  • Security researchers and penetration testers focusing on Java web applications
  • Liferay administrators responsible for legacy deployments
  • DevSecOps teams evaluating risk of unpatched Liferay versions
  • CTF or educational labs seeking realistic vulnerability case studies

Use cases

  • Performing vulnerability assessments on legacy Liferay installations
  • Learning about deserialization, SSRF, IDOR, and template injection attack patterns
  • Validating security controls and hardening measures for Liferay 7.0.x
  • Building automated security testing pipelines using the provided Python check script

Strengths

  • Multi-phase methodology with deterministic recon, independent judge refutation, and live verification
  • All findings backed by detailed evidence files (captured requests/responses, code traces)
  • Includes a ready-to-run, stdlib-only Python validator script covering all live-verified findings
  • Reproducible environment via a provided Dockerfile and step-by-step setup instructions

Considerations

  • Audit targets an end-of-life product (Liferay CE 7.0.3 GA4) which receives no patches; findings not submitted for CVE assignment
  • Some vulnerabilities require non-default configurations (e.g., OpenID, token SSO, OpenSocial/WSRP modules) and were not live-tested
  • Coverage is component-oriented; full source-tree analysis was not performed (only Semgrep anchors), so other vulnerabilities may exist

README quick start

Liferay CE 7.0.3 GA4 — Vulnerability Research (RAPTOR Loop-Hunt)

A security audit of Liferay Portal CE 7.0.3 GA4 (git tag 7.0.3-ga4, commit b2d7cc68a) performed with the RAPTOR loop-hunt methodology: deterministic recon → 25 isolated generator agents reading raw source → 22 independent judge agents refuting from raw → 9 live validators attacking a real GA4 instance in Docker.

Headline: unauthenticated RCE as root reproduced end-to-end (CVE-2020-7961 class), plus 8 more live-verified vulnerabilities — several of them with no known CVE.

⚠️ Legal/ethical: everything here targets a self-hosted test instance. Liferay CE 7.0 is end-of-life (last release 7.0.6 GA7, 2018); these issues are unpatched upstream. Use this material only against systems you own or are explicitly authorized to test.


You are probably looking for https://github.com/dinosn/liferay-ga4-rce-research/blob/main/tools/liferay_ga4_check.py :)

Findings at a glance

Status: ✅ live-verified against the Docker GA4 instance · 🔬 confirmed-by-code (independent judge re-derived the full trace from raw source) · 🧪 needs/config-gated.

IDFindingSeverityAuthStatusEvidence
F-1JSONWS type-override → arbitrary class instantiation + setters → RCE as root (c3p0 HexAsciiSerializedMapObjectInputStream → AspectJWeaver file-write → JSP)Criticalnoneverified/f1-jsonws-deser-rce.md
F-2/poller/* jabsorb javaClass hint → arbitrary class instantiation + field injection, before userId validationHigh (potential)any account (self-registration default-on)✅ sink / RCE arm openverified/F-2-poller.md
F-4XML-RPC pingback.ping fetch-before-validate → blind SSRF + internal port oracle (reached Gogo shell on 127.0.0.1:11311)Mediumnoneverified/f4-xmlrpc-pingback-ssrf.md
F-5SyncDownloadServlet versionId IDOR → read any DL file version (cross-site, no VIEW check on the streamed object)Highnone (via guest-viewable "leg")verified/F-5.md
F-6XSL template engine ignores sandboxing (secureProcessing=false, restricted dropped) → `docume

Description

Security research on Liferay CE 7.0.3 GA4: pre-auth RCE as root (CVE-2020-7961 class) reproduced end-to-end, plus 16 more findings — 8+ with no known CVE. Agentic loop-hunt: 25 generators, 22 judges, 9 live validators on Docker. Evidence trail + one-go checker included.

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348
mshumer
Featured
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI & Machine LearningAI Agents
1,234