CVE-2018-7300
Description
Directory Traversal / Arbitrary File Write / Remote Code Execution in the User.setLanguage method in eQ-3 AG Homematic CCU2 2.29.2 and earlier allows remote attackers to write arbitrary files to the device's filesystem. This vulnerability can be exploited by unauthenticated attackers with access to the web interface.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Directory traversal in Homematic CCU2's User.setLanguage allows unauthenticated attackers to write arbitrary files, enabling remote code execution.
Vulnerability
The Homematic CCU2 central control unit (versions 2.29.2 and earlier) contains a directory traversal vulnerability in the User.setLanguage JSON API method. The method can be invoked without authentication and writes user-controlled input to a file path constructed from the userName parameter. By injecting path traversal sequences (e.g., ../../../../../../../..) and a null byte (\u0000) to truncate the appended .lang suffix, an attacker can write arbitrary content to any location on the device's filesystem [1][2].
Exploitation
An unauthenticated attacker with network access to the web interface sends a crafted HTTP POST request to /api/homematic.cgi with a JSON body containing the desired file path (using traversal) in userName and the file content in userLang. The null byte in userName prevents the .lang extension from being appended. This can be executed without any prior authentication or user interaction [1][2].
Impact
Successful exploitation allows an attacker to create or overwrite arbitrary files on the CCU2 filesystem. This can lead to full remote code execution, for example by overwriting system scripts or configuration files, or by writing a web shell. The attacker gains complete control over the device, potentially compromising the entire home automation network [1].
Mitigation
As of the available references, no official patch has been released for this vulnerability. Users should restrict network access to the CCU2 web interface to trusted hosts only, and consider isolating the device from the internet. The device may be at end of life; contact the vendor (eQ-3) for further guidance.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: <=2.29.2
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2- www.exploit-db.com/exploits/44361/mitreexploitx_refsource_EXPLOIT-DB
- atomic111.github.io/article/homematic-ccu2-filewritemitrex_refsource_MISC
News mentions
0No linked articles in our index yet.