iPlanet Web Server shtml File Handling Remote Overflow
2000-10-26T00:00:00
ID IWS_SHTML.NASL Type nessus Reporter This script is Copyright (C) 2000-2018 Tenable Network Security, Inc. Modified 2021-02-02T00:00:00
Description
It is possible to make the remote iPlanet web server execute arbitrary
code when requesting a too long .shtml file (with a name longer than
800 chars and containing computer code).
An attacker may use this flaw to gain a shell on this host
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(10538);
script_version("1.26");
script_cvs_date("Date: 2018/07/12 19:01:16");
script_cve_id("CVE-2000-1077");
script_bugtraq_id(1848);
script_name(english:"iPlanet Web Server shtml File Handling Remote Overflow");
script_summary(english:"Web server buffer overflow");
script_set_attribute(attribute:"synopsis", value:"The remote web server is affected by a buffer overflow vulnerability.");
script_set_attribute(attribute:"description", value:
"It is possible to make the remote iPlanet web server execute arbitrary
code when requesting a too long .shtml file (with a name longer than
800 chars and containing computer code).
An attacker may use this flaw to gain a shell on this host");
script_set_attribute(attribute:"solution", value:"There is no known solution at this time.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:U/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2000/10/26");
script_set_attribute(attribute:"plugin_publication_date", value:"2000/10/26");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_DESTRUCTIVE_ATTACK);
script_copyright(english:"This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.");
script_family(english:"Web Servers");
script_dependencie("find_service1.nasl", "httpver.nasl", "http_version.nasl");
script_require_keys("Settings/ParanoidReport", "www/iplanet");
script_require_ports("Services/www",80);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
if (report_paranoia < 2) audit(AUDIT_PARANOID);
port = get_http_port(default:80);
soc = http_open_socket(port);
if(soc)
{
banner = get_http_banner(port:port);
if(egrep(pattern:"^Server:.*Netscape-Enterprise", string:banner))
{
res = http_send_recv3(method:"GET", item:"/XXX.shtml", port:port);
if (isnull(res)) exit(1, "The web server on port "+port+" failed to respond.");
res2 = http_send_recv3(method:"GET", item:string("/", crap(800), ".shtml"), port:port);
if (isnull(res2)) security_hole(port);
}
}
{"id": "IWS_SHTML.NASL", "bulletinFamily": "scanner", "title": "iPlanet Web Server shtml File Handling Remote Overflow", "description": "It is possible to make the remote iPlanet web server execute arbitrary\ncode when requesting a too long .shtml file (with a name longer than\n800 chars and containing computer code).\n\nAn attacker may use this flaw to gain a shell on this host", "published": "2000-10-26T00:00:00", "modified": "2021-02-02T00:00:00", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}, "href": "https://www.tenable.com/plugins/nessus/10538", "reporter": "This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.", "references": [], "cvelist": ["CVE-2000-1077"], "type": "nessus", "lastseen": "2021-02-01T03:33:59", "edition": 23, "viewCount": 0, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2000-1077"]}, {"type": "osvdb", "idList": ["OSVDB:437"]}], "modified": "2021-02-01T03:33:59", "rev": 2}, "score": {"value": 7.0, "vector": "NONE", "modified": "2021-02-01T03:33:59", "rev": 2}, "vulnersScore": 7.0}, "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(10538);\n script_version(\"1.26\");\n script_cvs_date(\"Date: 2018/07/12 19:01:16\");\n\n script_cve_id(\"CVE-2000-1077\");\n script_bugtraq_id(1848);\n\n script_name(english:\"iPlanet Web Server shtml File Handling Remote Overflow\");\n script_summary(english:\"Web server buffer overflow\");\n\n script_set_attribute(attribute:\"synopsis\", value:\"The remote web server is affected by a buffer overflow vulnerability.\");\n script_set_attribute(attribute:\"description\", value:\n\"It is possible to make the remote iPlanet web server execute arbitrary\ncode when requesting a too long .shtml file (with a name longer than\n800 chars and containing computer code).\n\nAn attacker may use this flaw to gain a shell on this host\");\n script_set_attribute(attribute:\"solution\", value:\"There is no known solution at this time.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:U/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2000/10/26\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2000/10/26\");\n\n script_set_attribute(attribute:\"potential_vulnerability\", value:\"true\");\n script_set_attribute(attribute:\"plugin_type\", value:\"remote\");\n script_end_attributes();\n\n script_category(ACT_DESTRUCTIVE_ATTACK);\n\n script_copyright(english:\"This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.\");\n script_family(english:\"Web Servers\");\n\n script_dependencie(\"find_service1.nasl\", \"httpver.nasl\", \"http_version.nasl\");\n script_require_keys(\"Settings/ParanoidReport\", \"www/iplanet\");\n script_require_ports(\"Services/www\",80);\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"http.inc\");\n\nif (report_paranoia < 2) audit(AUDIT_PARANOID);\n\nport = get_http_port(default:80);\n\nsoc = http_open_socket(port);\nif(soc)\n{\n banner = get_http_banner(port:port);\n if(egrep(pattern:\"^Server:.*Netscape-Enterprise\", string:banner))\n {\n res = http_send_recv3(method:\"GET\", item:\"/XXX.shtml\", port:port);\n if (isnull(res)) exit(1, \"The web server on port \"+port+\" failed to respond.\");\n\n res2 = http_send_recv3(method:\"GET\", item:string(\"/\", crap(800), \".shtml\"), port:port);\n if (isnull(res2)) security_hole(port);\n }\n}\n", "naslFamily": "Web Servers", "pluginID": "10538", "cpe": [], "scheme": null}
{"cve": [{"lastseen": "2021-02-02T05:19:03", "description": "Buffer overflow in the SHTML logging functionality of iPlanet Web Server 4.x allows remote attackers to execute arbitrary commands via a long filename with a .shtml extension.", "edition": 4, "cvss3": {}, "published": "2000-12-11T05:00:00", "title": "CVE-2000-1077", "type": "cve", "cwe": ["NVD-CWE-Other"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": true, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 10.0, "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2000-1077"], "modified": "2017-10-10T01:29:00", "cpe": ["cpe:/a:iplanet:iplanet_web_server:4.x"], "id": "CVE-2000-1077", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2000-1077", "cvss": {"score": 10.0, "vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C"}, "cpe23": ["cpe:2.3:a:iplanet:iplanet_web_server:4.x:*:*:*:*:*:*:*"]}], "osvdb": [{"lastseen": "2017-04-28T13:19:55", "bulletinFamily": "software", "cvelist": ["CVE-2000-1077"], "edition": 1, "description": "# No description provided by the source\n\n## References:\n[CVE-2000-1077](https://vulners.com/cve/CVE-2000-1077)\nBugtraq ID: 1848\n", "modified": "2000-10-26T00:00:00", "published": "2000-10-26T00:00:00", "href": "https://vulners.com/osvdb/OSVDB:437", "id": "OSVDB:437", "type": "osvdb", "title": "iPlanet Web Server SHTML Logging Filename Remote Overflow", "cvss": {"score": 10.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}]}