CVE-2005-1396
Description
Race condition in Ce/Ceterm (aka ARPUS/Ce) 2.5.4 and earlier allows local users to write to arbitrary files via a symlink attack on the ce_edit_log temporary file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
Root cause
"A race condition exists in the handling of the ce_edit_log temporary file."
Attack vector
A local user can exploit this vulnerability by creating a symbolic link to the ce_edit_log temporary file before the Ce/Ceterm program creates it. The exploit code then manipulates the DISPLAY environment variable to prevent the program from dropping privileges, causing it to write to the symbolic link instead of the intended temporary file. This allows the attacker to overwrite arbitrary files, such as /etc/ld.so.preload, with malicious content [ref_id=1].
Affected code
The vulnerability lies within the Ce/Ceterm program, specifically in how it handles the creation and writing to the `/tmp/ce_edit_log` temporary file. The exploit code targets the `system("/usr/bin/ce");` call and the `symlink(PRELOAD,"/tmp/ce_edit_log");` function, indicating these are the critical points of failure [ref_id=1].
What the fix does
The advisory does not specify a patch or provide details on how the vulnerability is fixed. However, it is generally recommended to update to a non-vulnerable version of the software. The exploit code demonstrates that the vulnerability is related to the program's handling of temporary files and privilege dropping mechanisms [ref_id=1].
Preconditions
- inputThe attacker must have local access to the affected system.
- configThe vulnerable version of Ce/Ceterm (2.5.4 or earlier) must be installed.
Reproduction
The provided reference write-up includes code that demonstrates the exploit, including steps to create a malicious shared object and overwrite `/etc/ld.so.preload` [ref_id=1].
Generated on Jun 2, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- lists.grok.org.uk/pipermail/full-disclosure/2005-May/033705.htmlnvdExploit
- securitytracker.com/idnvdExploit
- secunia.com/advisories/15197nvdVendor Advisory
- www.osvdb.org/16050nvdVendor Advisory
- www.digitalmunition.com/DMA%5B2005-0501a%5D.txtnvd
News mentions
0No linked articles in our index yet.