CVE-2010-1239 : Détail

CVE-2010-1239

Code Injection
A03-Injection
4.1%V3
Network
2010-04-05
15h15 +00:00
2024-09-16
17h22 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Foxit Reader before 3.2.1.0401 allows remote attackers to (1) execute arbitrary local programs via a certain "/Type /Action /S /Launch" sequence, and (2) execute arbitrary programs embedded in a PDF document via an unspecified "/Launch /Action" sequence, a related issue to CVE-2009-0836.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-94 Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

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

Score EPSS

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.

Percentile EPSS

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 : 11987

Date de publication : 2010-03-30 22h00 +00:00
Auteur : Didier Stevens
EDB Vérifié : Yes

Title : Escape From PDF Author : Didier Stevens Date : 03/29/2010 Source : http://blog.didierstevens.com/2010/03/29/escape-from-pdf/ This is a special PDF hack: I managed to make a PoC PDF to execute an embedded executable without exploiting any vulnerability! I use a launch action triggered by the opening of my PoC PDF. With Adobe Reader, the user gets a warning asking for approval to launch the action, but I can (partially) control the message displayed by the dialog. Foxit Reader displays no warning at all, the action gets executed without user interaction. PDF viewers like Adobe Reader and Foxit Reader don’t allow embedded executables (like binaries and scripts) to be extracted and executed, but I found another way to launch a command (/Launch /Action), and ultimately run an executable I embedded using a special technique. With Adobe Reader, a launch action needs to be approved by the user, but I can partially control the message displayed by the dialog box. Example 1: http://didierstevens.files.wordpress.com/2010/03/20100329-211248.png?w=478&h=262 Example 2: http://didierstevens.files.wordpress.com/2010/03/20100329-211313.png?w=478&h=262 Do you believe this could this mislead some of your users? Or maybe you can come up with a better message to fool your users. With Foxit Reader, no warning is displayed: Example 3: http://didierstevens.files.wordpress.com/2010/03/20100329-211310.png?w=457&h=385 I’m not publishing my PoC PDF yet, but you can download a PDF that will just launch cmd.exe here. Use it to test your PDF reader: https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/11987.zip (launch-action-cmd.zip) With Adobe Reader, the only thing preventing execution is a warning. Disabling JavaScript will not prevent this (I don’t use JavaScript in my PoC PDF), and patching Adobe Reader isn’t possible (I’m not exploiting a vulnerability, just being creative with the PDF language specs). I shared my PoC with Adobe’s PSIRT. Maybe they will come up with a solution to prevent this, should they consider that the protection offered by the warning dialog is not sufficient. BTW, preventing Adobe Reader from creating new processes blocks this trick. n this case, Foxit Reader is probably worse than Adobe Reader, because no warning gets displayed to prevent the launch action. My PoC PDF requires some changes for Foxit Reader, because ultimately, the executable doesn’t run. But that’s probably due to some variation in the PDF language supported by Foxit Reader. Tested with Adobe Reader 9.3.1 on Windows XP SP3 and Windows 7.

Products Mentioned

Configuraton 0

Foxitsoftware>>Foxit_reader >> Version To (including) 3.2.0.0303

Foxitsoftware>>Foxit_reader >> Version 2.3

Foxitsoftware>>Foxit_reader >> Version 3.0

Foxitsoftware>>Foxit_reader >> Version 3.1.0.0824

Foxitsoftware>>Foxit_reader >> Version 3.1.1.0901

Foxitsoftware>>Foxit_reader >> Version 3.1.1.0928

    Foxitsoftware>>Foxit_reader >> Version 3.1.3.1030

      Références

      http://www.kb.cert.org/vuls/id/570177
      Tags : third-party-advisory, x_refsource_CERT-VN