Nessus LibNASL Arbitrary Code Execution Vulnerability

BID:7664

Info

Nessus LibNASL Arbitrary Code Execution Vulnerability

Bugtraq ID: 7664
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: May 22 2003 12:00AM
Updated: Feb 20 2007 08:28PM
Credit: The discovery of this vulnerability has been credited to "Sir Mordred" <[email protected]>.
Vulnerable: Nessus Nessus 2.0.5
Nessus Nessus 2.0.4
Nessus Nessus 2.0.3
Nessus Nessus 2.0.2
Nessus Nessus 2.0.1
Nessus Nessus 2.0
Not Vulnerable: Nessus Nessus 2.0.6

Discussion

Nessus LibNASL Arbitrary Code Execution Vulnerability

Nessus has reported that various flaws have been discovered in the 'libnasl' library used by the Nessus application. As a result, a malicious NASL script may be able to break outside of the established sandbox environment and execute arbitrary commands on the local system.

Note that this malicious script must be a legitimate plugin that has been uploaded to the Nessus server. Furthermore, the affected Nessus application must have enabled the 'plugins_upload' option (which is disabled by default).

Exploit / POC

Nessus LibNASL Arbitrary Code Execution Vulnerability

The following proof-of-concept NASL scripts were provided:

insstr("aaaaaaaaaaa", "bb", 3, 0xfffffffd);
scanner_add_port(port : 80, proto : crap(data:'A', length:300));
ftp_log_in (socket : open_sock_tcp(21), pass : "11", user:crap (data:'A',length:8192) );

Solution / Fix

Nessus LibNASL Arbitrary Code Execution Vulnerability

Solution:
This issue has been addressed in Nessus 2.0.6. Users are advised to upgrade as soon as possible.

Gentoo has released advisory 200305-10. Vulnerable users are advised to perform the following commands:

emerge sync
emerge nessus
emerge clean


Nessus Nessus 2.0

Nessus Nessus 2.0.1

Nessus Nessus 2.0.2

Nessus Nessus 2.0.3

Nessus Nessus 2.0.4

Nessus Nessus 2.0.5

References

Nessus LibNASL Arbitrary Code Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report