Detectionhightest
Potential Local File Read Vulnerability In JVM Based Application
Detects potential local file read vulnerability in JVM based apps. If the exceptions are caused due to user input and contain path traversal payloads then it's a red flag.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
jvmapplication
Productjvm← raw: jvm
Categoryapplication← raw: application
Definition
Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)
Detection Logic
Detection Logic1 selector
detection:
keywords_local_file_read:
'|all':
- 'FileNotFoundException'
- '/../../..'
condition: keywords_local_file_readFalse Positives
Application bugs
References
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
e032f5bc-4563-4096-ae3b-064bab588685
Status
test
Level
high
Type
Detection
Created
Sat Feb 11
Author
Path
rules/application/jvm/java_local_file_read.yml
Raw Tags
attack.initial-accessattack.t1190