ID

VAR-200212-0649


CVE

CVE-2002-1383


TITLE

CUPS Multiple integer overflow vulnerabilities

Trust: 0.8

sources: JVNDB: JVNDB-2002-000336

DESCRIPTION

Multiple integer overflows in Common Unix Printing System (CUPS) 1.1.14 through 1.1.17 allow remote attackers to execute arbitrary code via (1) the CUPSd HTTP interface, as demonstrated by vanilla-coke, and (2) the image handling code in CUPS filters, as demonstrated by mksun. ------------ This vulnerability information is a summary of multiple vulnerabilities released at the same time. Please note that the contents of vulnerability information other than the title are included. ------------ Common Unix Printing System (CUPS) Some UNIX Included in the UNIX Can be used universally in the environment Internet Printing Protocol version 1.1 (IPP/1.1) Is a printing system that supports Red Hat Linux 7.3 as well as 8.0 It is also bundled with. this CUPS Has the following security issues: still, Red Hat Linux Then CUPS Is disabled in the default installation. 1. Overflow due to overflow of integer digits * [CAN-2002-1383] CUPS There are a few problems with overflowing integer digits. 2. Resource race condition for temporary file generation processing (race condition) Problem * [CAN-2002-1366] CUPS Is /etc/cups/certs/ less than pid ( Generation time CUPS Process ID) Creates a temporary file with a file name of, so a local attacker can predict how the temporary file name is determined. Therefore, by creating a file with the same name as the temporary file that points to the intended file, root Any file can be overwritten or created with authority. In order to execute this attack, 1. In advance, lp User rights are required. 3. Printer addition mechanism / Problems with the access control function * [CAN-2002-1367] Malicious maliciously created remotely UDP Packet CUPS By sending to, you can bypass the authentication and add a printer. Furthermore, there is a problem that the access control mechanism of the printer addition mechanism neglects the validity check. The added printer information is root Since it is interpreted by the authority, any print can be added by using these problems together. As a result, local attackers root Elevation to privilege is possible. 4. Intentionally created HTTP By communication CUPSd That crashes [CAN-2002-1368] CUPS Then IPP To accept connections on the backend HTTP server (CUPSd) Is included. this HTTP Server HTTP The remote attacker is not able to verify the validity of the range of received values in the handling part of Contents-Length: The field was set to a negative value, or intentionally assembled and chunked HTTP By trying to communicate with the protocol, CUPS Can be put into a denial of service. To restore normal operation CUPSd Needs to be restarted. 5. strncat Problem of buffer overflow caused by function [CAN-2002-1369] CUPS Has a buffer overflow problem when receiving a printer job with a specific attribute value. By using this issue, a remote attacker can root It is possible to execute arbitrary code with authority. To take advantage of this issue, 3. Need to take advantage of the problem. 6.GIF Problems when handling file formats [CAN-2002-1371] CUPS In GIF Width in the part that handles format files (width) There is a problem with the process of validating the value of. For this reason, remote attackers are deliberately assembled (width) But '0' Is GIF Overwrite the allocated memory contents by interpreting the format file, CUPS An arbitrary code may be executed with the execution right. 7. File descriptor issues with sockets and files * [CAN-2002-1372] CUPS Has a problem that does not properly close file descriptors for sockets and files. For this reason, local attackers can use this issue to cause memory leaks, CUPS It is possible to put the entire system running in a service out of service state.Please refer to the “Overview” for the impact of this vulnerability. Successful attacks may grant local access to adversaries with user 'lp' and group 'sys' privileges. It is significantly easier for attackers to obtain superuser privileges once local access has been obtained. Depending on system configuration, other privileges may be gained. The system is based on the Internet Printing Protocol (IPP) and provides most PostScript and raster printer services. The http component contains the cgi-bin/var.c file, which has the following variables: var = form_vars + form_count; var->name = strdup(name); var->nvalues ​​= element + 1; var->avalues ​​= element + 1 ; var->values ​​= calloc(element + 1, sizeof(char *)); var->values[element] = strdup(value); Since the attacker can control the element and value, the stack address of the calling function can be overwritten instead execute arbitrary commands

Trust: 2.25

sources: NVD: CVE-2002-1383 // JVNDB: JVNDB-2002-000336 // BID: 6433 // BID: 6434 // VULHUB: VHN-5768

AFFECTED PRODUCTS

vendor:easy productsmodel:cupsscope:eqversion:1.1.10

Trust: 1.6

vendor:easy productsmodel:cupsscope:eqversion:1.1.13

Trust: 1.0

vendor:applemodel:mac os xscope:eqversion:10.2.2

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.6

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.4

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.0.4_8

Trust: 1.0

vendor:applemodel:mac os xscope:eqversion:10.2

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.4_2

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.4_3

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.4_5

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.14

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.17

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.7

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.0.4

Trust: 1.0

vendor:easy productsmodel:cupsscope:eqversion:1.1.1

Trust: 1.0

vendor:red hatmodel:linuxscope:eqversion:7.3

Trust: 0.8

vendor:red hatmodel:linuxscope:eqversion:8.0

Trust: 0.8

vendor:easymodel:software products cupsscope:eqversion:1.1.17

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.16

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.15

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.14

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.13

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.12

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.10

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.7

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.6

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.4

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.2.2

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.2

Trust: 0.6

vendor:easymodel:software products cupsscope:neversion:1.1.18

Trust: 0.6

vendor:applemodel:mac osscope:neversion:x10.2.3

Trust: 0.6

vendor:easymodel:software products cupsscope:eqversion:1.1.4-5

Trust: 0.3

vendor:easymodel:software products cupsscope:eqversion:1.1.4-3

Trust: 0.3

vendor:easymodel:software products cupsscope:eqversion:1.1.4-2

Trust: 0.3

vendor:easymodel:software products cupsscope:eqversion:1.1.1

Trust: 0.3

vendor:easymodel:software products cupsscope:eqversion:1.0.4-8

Trust: 0.3

vendor:easymodel:software products cupsscope:eqversion:1.0.4

Trust: 0.3

vendor:easymodel:software products cupsscope:eqversion:1.1.18

Trust: 0.3

sources: BID: 6433 // BID: 6434 // JVNDB: JVNDB-2002-000336 // CNNVD: CNNVD-200212-075 // NVD: CVE-2002-1383

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2002-1383
value: HIGH

Trust: 1.0

NVD: CVE-2002-1383
value: HIGH

Trust: 0.8

CNNVD: CNNVD-200212-075
value: CRITICAL

Trust: 0.6

VULHUB: VHN-5768
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2002-1383
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

VULHUB: VHN-5768
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

sources: VULHUB: VHN-5768 // JVNDB: JVNDB-2002-000336 // CNNVD: CNNVD-200212-075 // NVD: CVE-2002-1383

PROBLEMTYPE DATA

problemtype:NVD-CWE-Other

Trust: 1.0

sources: NVD: CVE-2002-1383

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-200212-075

TYPE

Boundary Condition Error

Trust: 1.2

sources: BID: 6433 // BID: 6434 // CNNVD: CNNVD-200212-075

CONFIGURATIONS

sources: JVNDB: JVNDB-2002-000336

PATCH

title:RHSA-2002:295url:https://rhn.redhat.com/errata/RHSA-2002-295.html

Trust: 0.8

title:RHSA-2002:295url:http://www.jp.redhat.com/support/errata/RHSA/RHSA-2002-295J.html

Trust: 0.8

sources: JVNDB: JVNDB-2002-000336

EXTERNAL IDS

db:NVDid:CVE-2002-1383

Trust: 3.1

db:SECUNIAid:7858

Trust: 1.7

db:SECUNIAid:7756

Trust: 1.7

db:SECUNIAid:9325

Trust: 1.7

db:SECUNIAid:7913

Trust: 1.7

db:SECUNIAid:7803

Trust: 1.7

db:SECUNIAid:7843

Trust: 1.7

db:SECUNIAid:7907

Trust: 1.7

db:SECUNIAid:7794

Trust: 1.7

db:SECUNIAid:8080

Trust: 1.7

db:BIDid:6434

Trust: 1.2

db:BIDid:6433

Trust: 1.2

db:BIDid:6435

Trust: 0.8

db:BIDid:6437

Trust: 0.8

db:BIDid:6439

Trust: 0.8

db:BIDid:6440

Trust: 0.8

db:BIDid:6436

Trust: 0.8

db:BIDid:6438

Trust: 0.8

db:JVNDBid:JVNDB-2002-000336

Trust: 0.8

db:CNNVDid:CNNVD-200212-075

Trust: 0.7

db:SUSEid:SUSE-SA:2003:002

Trust: 0.6

db:VULNWATCHid:20021219 IDEFENSE SECURITY ADVISORY 12.19.02: MULTIPLE SECURITY VULNERABILITIES IN COMMON UNIX PRINTING SYSTEM (CUPS)

Trust: 0.6

db:CALDERAid:CSSA-2003-004.0

Trust: 0.6

db:BUGTRAQid:20021219 IDEFENSE SECURITY ADVISORY 12.19.02: MULTIPLE SECURITY VULNERABILITIES IN COMMON UNIX PRINTING SYSTEM (CUPS)

Trust: 0.6

db:REDHATid:RHSA-2002:295

Trust: 0.6

db:VULHUBid:VHN-5768

Trust: 0.1

sources: VULHUB: VHN-5768 // BID: 6433 // BID: 6434 // JVNDB: JVNDB-2002-000336 // CNNVD: CNNVD-200212-075 // NVD: CVE-2002-1383

REFERENCES

url:ftp://ftp.sco.com/pub/security/openlinux/cssa-2003-004.0.txt

Trust: 1.7

url:http://www.idefense.com/advisory/12.19.02.txt

Trust: 1.7

url:http://www.redhat.com/support/errata/rhsa-2002-295.html

Trust: 1.7

url:http://secunia.com/advisories/7756/

Trust: 1.7

url:http://secunia.com/advisories/7794

Trust: 1.7

url:http://secunia.com/advisories/7803

Trust: 1.7

url:http://secunia.com/advisories/7843

Trust: 1.7

url:http://secunia.com/advisories/7858

Trust: 1.7

url:http://secunia.com/advisories/7907

Trust: 1.7

url:http://secunia.com/advisories/7913/

Trust: 1.7

url:http://secunia.com/advisories/8080/

Trust: 1.7

url:http://secunia.com/advisories/9325/

Trust: 1.7

url:http://www.novell.com/linux/security/advisories/2003_002_cups.html

Trust: 1.7

url:http://archives.neohapsis.com/archives/vulnwatch/2002-q4/0117.html

Trust: 1.7

url:http://marc.info/?l=bugtraq&m=104032149026670&w=2

Trust: 1.0

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2002-1383

Trust: 0.8

url:http://nvd.nist.gov/nvd.cfm?cvename=cve-2002-1383

Trust: 0.8

url:http://www.securityfocus.com/bid/6435

Trust: 0.8

url:http://www.securityfocus.com/bid/6436

Trust: 0.8

url:http://www.securityfocus.com/bid/6438

Trust: 0.8

url:http://www.securityfocus.com/bid/6440

Trust: 0.8

url:http://www.securityfocus.com/bid/6439

Trust: 0.8

url:http://www.securityfocus.com/bid/6437

Trust: 0.8

url:http://www.securityfocus.com/bid/6434

Trust: 0.8

url:http://www.securityfocus.com/bid/6433

Trust: 0.8

url:http://www.info.apple.com/usen/security/security_updates.html

Trust: 0.6

url:/archive/1/304031

Trust: 0.6

url:http://marc.theaimsgroup.com/?l=bugtraq&m=104032149026670&w=2

Trust: 0.6

url:http://marc.info/?l=bugtraq&m=104032149026670&w=2

Trust: 0.1

sources: VULHUB: VHN-5768 // BID: 6433 // BID: 6434 // JVNDB: JVNDB-2002-000336 // CNNVD: CNNVD-200212-075 // NVD: CVE-2002-1383

CREDITS

Discovered by zen-parse.

Trust: 0.6

sources: BID: 6433 // BID: 6434

SOURCES

db:VULHUBid:VHN-5768
db:BIDid:6433
db:BIDid:6434
db:JVNDBid:JVNDB-2002-000336
db:CNNVDid:CNNVD-200212-075
db:NVDid:CVE-2002-1383

LAST UPDATE DATE

2024-08-14T13:51:24.040000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-5768date:2016-10-18T00:00:00
db:BIDid:6433date:2009-07-11T19:16:00
db:BIDid:6434date:2009-07-11T19:16:00
db:JVNDBid:JVNDB-2002-000336date:2007-04-01T00:00:00
db:CNNVDid:CNNVD-200212-075date:2005-10-20T00:00:00
db:NVDid:CVE-2002-1383date:2016-10-18T02:26:37.023

SOURCES RELEASE DATE

db:VULHUBid:VHN-5768date:2002-12-26T00:00:00
db:BIDid:6433date:2002-12-19T00:00:00
db:BIDid:6434date:2002-12-19T00:00:00
db:JVNDBid:JVNDB-2002-000336date:2007-04-01T00:00:00
db:CNNVDid:CNNVD-200212-075date:2002-12-26T00:00:00
db:NVDid:CVE-2002-1383date:2002-12-26T05:00:00