Sigma rule: Potential XXE Exploitation Attempt In JVM Based Application
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ef52e5d0a55c, updated 2023-02-11T00:00:00.000Z.
Rule
- Title
- Potential XXE Exploitation Attempt In JVM Based Application
- Status
- test
- Level
- high
- Author
- Moti Harmats
- Date
- 2023-02-11
- File
- rules/application/jvm/java_xxe_exploitation_attempt.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects XML parsing issues, if the application expects to work with XML make sure that the parser is initialized safely.
Log source
- product
- jvm
- category
- application
- definition
- Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)
Detection
keywords:
- 'SAXParseException'
- 'DOMException'
condition: keywordsFalse positives (as the rule lists them)
- If the application expects to work with XML there may be parsing issues that don't necessarily mean XXE.
Tags
- attack.initial-access
- attack.t1190
MITRE ATT&CK ids this rule names
References
- https://rules.sonarsource.com/java/RSPEC-2755
- https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing
- https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/jvm/java_xxe_exploitation_attempt.yml
Sources and licences
SigmaHQ
"Potential XXE Exploitation Attempt In JVM Based Application" by Moti Harmats (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/jvm/java_xxe_exploitation_attempt.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potential XXE Exploitation Attempt In JVM Based Application",
entity page, dataset version ref-ef52e5d0a55c, updated 2023-02-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c4e06896-e27c-4583-95ac-91ce2279345d (accessed 2026-11-03).
Underlying source: SigmaHQ rule c4e06896-e27c-4583-95ac-91ce2279345d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.