Lucene search
K

Web Server Allows Password Auto-Completion

🗓️ 07 Oct 2009 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 882 Views

Web Server Allows Password Auto-Completion. The 'autocomplete' attribute is not disabled on password fields. This could lead to users' credentials being saved in their browsers, posing a risk to confidentiality

Code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(42057);
 script_version("1.12");
 script_set_attribute(attribute:"plugin_modification_date", value:"2025/11/26");

 script_name(english: "Web Server Allows Password Auto-Completion");
 script_summary(english: "Uses the results of webmirror.nasl.");
 
 script_set_attribute(attribute:"synopsis", value:
"The 'autocomplete' attribute is not disabled on password fields.");
 script_set_attribute(attribute:"description", value:
"The remote web server contains at least one HTML form field that has
an input of type 'password' where 'autocomplete' is not set to 'off'.

While this does not represent a risk to this web server per se, it
does mean that users who use the affected forms may have their
credentials saved in their browsers, which could in turn lead to a
loss of confidentiality if any of them use a shared host or if their
machine is compromised at some point.");
 script_set_attribute(attribute:"solution", value:
"Add the attribute 'autocomplete=off' to these fields to prevent
browsers from caching credentials.");
 script_set_attribute(attribute:"risk_factor", value:"Low");

 script_set_attribute(attribute:"plugin_publication_date", value:"2009/10/07");

 script_set_attribute(attribute:"plugin_type", value: "remote");
 script_end_attributes();

 script_category(ACT_GATHER_INFO); 
 script_family(english: "Web Servers");

 script_copyright(english:"This script is Copyright (C) 2009-2025 Tenable Network Security, Inc.");

 script_dependencies("webmirror.nasl");
 script_require_ports("Services/www",80);
 exit(0);
}

include("http.inc");

var port, form_protection, kb, e;
port = get_http_port(default:80);

# If the form is protected, the inputs are as well
form_protection = get_kb_item("www/" + port + "/AutocompleteFormDisabled");
if (!form_protection)
{
  kb = get_kb_item_or_exit("www/" + port + "/AutoCompletePasswordForms");
  e = "";
  foreach var line (split(kb, keep: 0))
    e += split_long_line(line: line) + '\n';
  security_note(port:port, extra: e);
}
else audit(AUDIT_WEB_SERVER_NOT_AFFECTED, port);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Nov 2025 00:00Current
5.6Medium risk
Vulners AI Score5.6
882