Spoofing attack in c-ares



Published: 2007-06-12 | Updated: 2021-09-30
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2007-3152
CVE-2007-3153
CWE-ID CWE-330
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
c-ares
Universal components / Libraries / Libraries used by multiple products

Vendor c-ares.haxx.se

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Use of insufficiently random values

EUVDB-ID: #VU56969

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2007-3152

CWE-ID: CWE-330 - Use of Insufficiently Random Values

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to usage of a predictable seed for the random number generator for the DNS Transaction ID field. A remote attacker can spoof DNS responses by guessing the field value.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

c-ares: 1.0.0 - 1.3.2

External links

http://cool.haxx.se/cvs.cgi/curl/ares/CHANGES?rev=HEAD&content-type=text/vnd.viewcvs-markup
http://exchange.xforce.ibmcloud.com/vulnerabilities/34979


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Use of insufficiently random values

EUVDB-ID: #VU56970

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2007-3153

CWE-ID: CWE-330 - Use of Insufficiently Random Values

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to usage of a  weak facility for producing a random number sequence (Unix rand) within the ares_init:randomize_key() function in c-ares. A remote attacker can spoof DNS responses by guessing certain value.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

c-ares: 1.0.0 - 1.3.2

External links

http://cool.haxx.se/cvs.cgi/curl/ares/CHANGES?rev=HEAD&content-type=text/vnd.viewcvs-markup
http://exchange.xforce.ibmcloud.com/vulnerabilities/34980


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###