EXPL_GitLab_CE_RCE_Malformed_JPG_CVE_2021_22204
Description
Detects malformed JPG files exploting EXIF vulnerability CVE-2021-22204 and used in the exploitation of GitLab vulnerability CVE-2021-22205
Query · yara
strings:
$h1 = { 41 54 26 54 46 4F 52 4D }
$sr1 = /\(metadata[\s]{0,3}\([A-Za-z]{1,20} "\\/
condition:
filesize < 10KB
and $h1
and $sr1
}