{"id":"e032f5bc-4563-4096-ae3b-064bab588685","title":"Potential Local File Read Vulnerability In JVM Based Application","description":"Detects potential local file read vulnerability in JVM based apps.\nIf the exceptions are caused due to user input and contain path traversal payloads then it's a red flag.\n","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":["Application bugs"],"references":["https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs"],"source_path":"rules/application/jvm/java_local_file_read.yml","source_sha256":"9b319b36081d8fee2c0353fa0b7f36942dd99067f7462218a559bba05233572e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/application/jvm/java_local_file_read.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 Local File Read Vulnerability In JVM Based Application\nid: e032f5bc-4563-4096-ae3b-064bab588685\nstatus: test\ndescription: |\n    Detects potential local file read vulnerability in JVM based apps.\n    If the exceptions are caused due to user input and contain path traversal payloads then it's a red flag.\nreferences:\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_local_file_read:\n        '|all':\n            - 'FileNotFoundException'\n            - '/../../..'\n    condition: keywords_local_file_read\nfalsepositives:\n    - Application bugs\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/e032f5bc-4563-4096-ae3b-064bab588685.json","kind":"sigma"}
