{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":1,"rules":[{"id":"f517847c-3d98-4a53-a047-8690da25221e","date":"2026-11-23","format":"yara","title":"PostScript or PDF file calling .putgstringcopy and .forceput (Upload2Shell)","description":"Uploaded document that references the .putgstringcopy procedure and the privileged .forceput operator, at the core of the CVE-2026-125396 -dSAFER bypass; to be run on upload directories before conversion.","level":"medium","attack":["T1190","T1203"],"references":["https://cve.threatint.com/CVE/CVE-2026-125396"],"falsepositives":["Ghostscript's own resource files (gs_fonts.ps): exclude the Ghostscript installation directories"],"content":"rule TB_20261123_Ghostscript_Upload2Shell_forceput\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-23\"\n        reference = \"https://cve.threatint.com/CVE/CVE-2026-125396\"\n        description = \"PostScript or PDF upload that references .putgstringcopy and the privileged .forceput operator, the -dSAFER bypass of CVE-2026-125396 (Upload2Shell)\"\n        status = \"experimental\"\n    strings:\n        $p1 = \".putgstringcopy\" ascii\n        $p2 = \".forceput\" ascii\n    condition:\n        (uint16(0) == 0x2125 or uint32(0) == 0x46445025) and filesize < 20MB and all of them\n}\n","topic":"Ghostscript: Upload2Shell (CVE-2026-125396) escapes the -dSAFER sandbox, server takeover through uploaded files, fixed in 10.08.0","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-23"}]}