J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1537
    posted: 11/06/09
  • NSM Daily Update #1537
    posted: 11/06/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1537
    posted: 11/06/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/06/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/05/09

Title: DProxy DNS_Decode_Reverse_Name Buffer-Overflow Vulnerability

Severity: CRITICAL

Description:

Dproxy is a small, freely available caching DNS server.

The application is prone to a remote buffer-overflow vulnerability because it fails to properly check boundaries on user-supplied data before copying it to an insufficiently sized buffer.

Specifically, the vulnerability affects the 'dns_decode_reverse_name()' function in the 'dns_decode.c' source file. The software fails to check the size of the 'name' parameter before copying it into a temporary fixed-size buffer of 255 bytes. When the application processes a maliciously crafted 'name' parameter value exceeding the temporary buffer size, memory will become corrupted as a result of a buffer overflow.

The 'dns_decode_name()' may also be vulnerable, but this has not been confirmed. This BID will be updated as further information becomes available.

An attacker could exploit this issue to cause denial-of-service conditions or to execute arbitrary machine code with superuser privileges. A successful attack could result in the complete compromise of affected computers or routers/devices.

Version 1.c is vulnerable; other may also be affected.

Affected Products:

  • Matthew Pratt dproxy 0.1
  • Matthew Pratt dproxy 0.2
  • Matthew Pratt dproxy 0.3
  • Matthew Pratt dproxy 0.4
  • Matthew Pratt dproxy 0.5
  • Matthew Pratt dproxy-nexgen 1.c

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.