{"id":"c4e06896-e27c-4583-95ac-91ce2279345d","title":"Potential XXE Exploitation Attempt In JVM Based Application","description":"Detects XML parsing issues, if the application expects to work with XML make sure that the parser is initialized safely.","author":"Moti Harmats","status":"test","level":"high","date":"2023-02-11","modified":"","tags":["attack.initial-access","attack.t1190"],"technique_ids":["T1190"],"logsource":{"category":"application","product":"jvm","definition":"Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)"},"falsepositives":["If the application expects to work with XML there may be parsing issues that don't necessarily mean XXE."],"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"],"source_path":"rules/application/jvm/java_xxe_exploitation_attempt.yml","source_sha256":"16b5359c7267b2aab3d8165540d329b93a0f74df926deb1b879b058cc8494c5c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/application/jvm/java_xxe_exploitation_attempt.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential XXE Exploitation Attempt In JVM Based Application\nid: c4e06896-e27c-4583-95ac-91ce2279345d\nstatus: test\ndescription: Detects XML parsing issues, if the application expects to work with XML make sure that the parser is initialized safely.\nreferences:\n    - https://rules.sonarsource.com/java/RSPEC-2755\n    - https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing\n    - https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs\nauthor: Moti Harmats\ndate: 2023-02-11\ntags:\n    - attack.initial-access\n    - attack.t1190\nlogsource:\n    category: application\n    product: jvm\n    definition: 'Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)'\ndetection:\n    keywords:\n        - 'SAXParseException'\n        - 'DOMException'\n    condition: keywords\nfalsepositives:\n    - If the application expects to work with XML there may be parsing issues that don't necessarily mean XXE.\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1190","id":"T1190","name":"Exploit Public-Facing Application","page":"techniques/enterprise/T1190/"}],"data_path":"data/detection-rules/c4e06896-e27c-4583-95ac-91ce2279345d.json","kind":"sigma"}
