CVE-2007-5795 Security feature bypass in n/a
Attackers can bypass Emacs local variable restrictions to modify critical variables or execute code if users open malicious files with safe mode enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2007-5795?
CVE-2007-5795 is a medium-severity vulnerability in n/a, published on 2 Nov 2007. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The hack-local-variables function in Emacs before 22.2, when enable-local-variables is set to :safe, does not properly search lists of unsafe or risky variables, which might allow user-assisted attackers to bypass intended restrictions and modify critical program variables via a file containing a Local variables declaration.
Which versions are affected by CVE-2007-5795?
It affects 1 product.
Products include Gnu Emacs.
How do I fix CVE-2007-5795?
Upgrade to a fixed version.
Is CVE-2007-5795 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5795 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as DTSA-79-1, GHSA-qf2q-r4v7-rv34.