
📌 Repository for technical documentation and resources on the Format String vulnerability in the Telnet server of Green Hills INTEGRITY RTOS (v5.0.4).
The vulnerability affects the IPCOMShell (Telnet) server from Interpeak in Green Hills INTEGRITY RTOS 5.0.4, where an undocumented command interpreter allows setting the command input value. This value is used directly as input to printf functions without validation, enabling the execution of malicious format strings.
✅ Critical information leak: A remote attacker can read system memory addresses. ✅ Attack vector: Exploitation via a standard Telnet session. ✅ Additional risk: Facilitates bypassing protections like ASLR for more advanced attacks (e.g., Return-Oriented Programming).
🔹 Classification: Format String Vulnerability (CWE-134). 🔹 Exploitation:
%x, %p, or %n in the configured command.⚠️ WARNING! This code is for educational and research purposes only. Using it on systems without authorization is illegal.
telnet <device-IP>
> shell_config_cmd "%p %p %p %p"
0xdeadbeef 0xcafebabe).To protect affected systems, the following is recommended:
✅ Update the system:
✅ Disable Telnet:
✅ Network segmentation:
✅ Security audits:
🔗 Official:
🔗 Third-party:
| Metric | Value |
|---|---|
| Base Score | 7.5 (HIGH) |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
💡 Additional notes:
| Impact |
| Confidentiality: High |