gv up to 3.5.8 ps.c psscan BoundingBox/comment/Orientation/PageOrder/Pages memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in gv and classified as critical. The impacted element is the function psscan of the file ps.c. Performing a manipulation of the argument BoundingBox/comment/Orientation/PageOrder/Pages results in memory corruption.
This vulnerability is known as CVE-2004-1717. Furthermore, an exploit is available.
Details
A vulnerability classified as critical has been found in gv. This affects the function psscan of the file ps.c. The manipulation of the argument BoundingBox/comment/Orientation/PageOrder/Pages with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Multiple buffer overflows in the psscan function in ps.c for gv (ghostview) allow remote attackers to execute arbitrary code via a Postscript file with a long (1) BoundingBox, (2) comment, (3) Orientation, (4) PageOrder, or (5) Pages value.
The weakness was published 08/17/2004 by infamous41md (Website). It is possible to read the advisory at marc.theaimsgroup.com. This vulnerability is uniquely identified as CVE-2004-1717 since 02/26/2005. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known.
A public exploit has been developed by infamous41md in ANSI C and been published before and not just after the advisory. The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $0-$5k.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (17019), Exploit-DB (390), SecurityFocus (BID 10944†) and OSVDB (15970†). Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.9
VulDB Base Score: 7.3
VulDB Temp Score: 6.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: infamous41md
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
08/13/2004 🔍08/13/2004 🔍
08/14/2004 🔍
08/16/2004 🔍
08/17/2004 🔍
02/26/2005 🔍
03/15/2005 🔍
04/14/2015 🔍
12/22/2024 🔍
Sources
Advisory: marc.theaimsgroup.comResearcher: infamous41md
Status: Confirmed
CVE: CVE-2004-1717 (🔍)
GCVE (CVE): GCVE-0-2004-1717
GCVE (VulDB): GCVE-100-22095
X-Force: 17019 - gv psscan file header buffer overflow
SecurityFocus: 10944 - GV Postscript and PDF Viewer Multiple Remote Buffer Overflow Vulnerabilities
OSVDB: 15970 - gv psscan Function Postscript File Multiple Header Overflow
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 04/14/2015 13:16Updated: 12/22/2024 18:07
Changes: 04/14/2015 13:16 (61), 06/19/2018 20:56 (6), 12/22/2024 18:07 (16)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.