CVE-2012-4705: Directory traversal vulnerability in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to exec
CVE-2012-4705 is a high-severity flaw (CVSS 10.0) affecting codesys gateway-server. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Directory traversal vulnerability in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via vectors involving a crafted pathname.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (High) |
| EPSS exploit chance | 64.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2013-02-24 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: CADA 3S CoDeSys Gateway Server - Directory Traversal (Metasploit)
- Metasploit: SCADA 3S CoDeSys Gateway Server Directory Traversal
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-4705?
codesys gateway-server: upgrade to newer than 2.3.9.20. Exact commands for each OS are on this page.
Is CVE-2012-4705 being exploited?
CVE-2012-4705 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-4705 affect?
CVE-2012-4705 affects codesys gateway-server. Severity is high (CVSS 10.0). Directory traversal vulnerability in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via vectors involving a crafted pathname.
How urgent is CVE-2012-4705?
Priority 65/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2013-2781 HIGH 10.0 DOWNGRADE Use-after-free vulnerability in the server application in 3S CODESYS Gateway 2.3.9.27 allows remote attackers
- CVE-2012-4708 HIGH 10.0 UPGRADE Stack-based buffer overflow in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute ar
- CVE-2012-4707 HIGH 10.0 UPGRADE 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary code via vectors that t
- CVE-2012-4706 HIGH 7.8 UPGRADE Integer signedness error in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to cause a denia
- CVE-2012-4704 HIGH 10.0 UPGRADE Array index error in 3S CODESYS Gateway-Server before 2.3.9.27 allows remote attackers to execute arbitrary co