CVE-2022-37724
Java vulnerability analysis and mitigation

Overview

Project Wonder WebObjects versions 1.0 through 5.4.3 are affected by an Arbitrary HTTP Header injection vulnerability and URL- or Header-based XSS reflection in all web-server adaptor interfaces. The vulnerability was discovered in August 2022 and affects the WebObjects web-server adaptors that handle communication between web servers and WebObjects application servers (Wonder Pull Request, WebObjects Blog).

Technical details

The vulnerability exists in the WebObjects adaptors' URL parsing functionality. There are two methods of exploitation: 1) Through the WebObjects Version String in URLs (expected to appear as '.../WebObjects-4.exe/...') and 2) Through the trailing character sequence of the URL before the query string. The code fails to properly validate and sanitize URL components, allowing attackers to inject arbitrary HTTP headers and reflect malicious content. The vulnerability stems from unbounded version string lengths and lack of character filtering in URL processing (WebObjects Blog).

Impact

Successful exploitation could allow attackers to bypass IP-based DirectAction authorization by controlling REMOTE_ADDR headers, hijack user sessions and domain cookies through redirected XSS, create cloaking redirects awaiting user action, and chain with stored XSS in user forms to enable targeted phishing attacks. The vulnerability potentially enables unauthorized access to backend application servers by bypassing adaptor pre-filtering of content headers (WebObjects Blog).

Mitigation and workarounds

The vulnerability has been patched in the Project Wonder repository. The fix includes restricting URL version components to a maximum of 6 characters, enforcing character set validation using regex [a-z0-9.-_]{1,5}, and adding URL validation to detect and block forbidden characters like 0x0D (carriage-return) or 0x0A (line-feed). Alternative mitigations include disabling URL decoding before query strings or implementing URL rewrites to block illegal characters (Wonder Pull Request, WebObjects Blog).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management