CVE-2007-6631 - Buffer Errors vulnerability in Lscube Libnemesi 0.6.4rc1

Publication

2008-01-04

Last modification

2018-10-15

Summary

Multiple buffer overflows in LScube libnemesi 0.6.4-rc1 and earlier allow remote attackers to execute arbitrary code via (1) a reply that begins with a long version string, which triggers an overflow in handle_rtsp_pkt in rtsp_handlers.c; long headers that trigger overflows in (2) send_pause_request, (3) send_play_request, (4) send_setup_request, or (5) send_teardown_request in rtsp_send.c, as demonstrated by the Content-Base header; or a long Transport header, which triggers an overflow in (6) get_transport_str_sctp, (7) get_transport_str_tcp, or (8) get_transport_str_udp in rtsp_transport.c.

Description

Libnemesi is prone to multiple buffer-overflow vulnerabilities because it fails to perform adequate boundary checks on user-supplied input.Attackers can exploit these issues to execute arbitrary code in the context of applications that use the library. Failed attacks will cause denial-of-service conditions.Libnemesi 0.6.4-rc1 is vulnerable; other versions may also be affected.

Solution

The vendor has released an update to address these issues. Please see the references for more information. Politecnico di Torino Libnemesi 0.6.4-rc1 Politecnico di Torino libnemesi-0.6.4-rc2.tar.bz2 http://live.polito.it/files/downloads/libnemesi/libnemesi-0.6.4-rc2.ta r.bz2

Exploit

The following proof-of-concept code is available: /data/vulnerabilities/exploits/27048.zip

Classification

CWE-119 - Buffer Errors

Risk level (CVSS AV:N/AC:L/Au:N/C:P/I:P/A:P)

High

7.5

Access Vector

  • Network
  • Adjacent Network
  • Local

Access Complexity

  • Low
  • Medium
  • High

Authentication

  • None
  • Single
  • Multiple

Confident. Impact

  • Complete
  • Partial
  • None

Integrity Impact

  • Complete
  • Partial
  • None

Affected Products

Vendor Product Versions
Lscube Libnemesi  0.6.4Rc1