Skip to content

GLPI Default Login

ID: glpi-default-login

Severity: high

Author: andysvints

Tags: glpi,default-login

GLPI default login credentials were discovered. GLPI is an ITSM software tool that helps you plan and manage IT changes. This template checks if a default super admin account (glpi/glpi) is enabled.

id: glpi-default-login
info:
name: GLPI Default Login
author: andysvints
severity: high
description: GLPI default login credentials were discovered. GLPI is an ITSM software tool that helps you plan and manage IT changes. This template checks if a default super admin account (glpi/glpi) is enabled.
reference:
- https://glpi-project.org/
classification:
cwe-id: CWE-798
metadata:
max-request: 2
tags: glpi,default-login
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
POST /front/login.php HTTP/1.1
Host: {{Hostname}}
Origin: {{BaseURL}}
Content-Type: application/x-www-form-urlencoded
Referer: {{BaseURL}}
{{name}}={{user}}&{{password}}={{pass}}&auth=local&submit=Submit&_glpi_csrf_token={{token}}
attack: pitchfork
payloads:
user:
- glpi
pass:
- glpi
extractors:
- type: regex
name: token
part: body
internal: true
group: 1
regex:
- "hidden\" name=\"_glpi_csrf_token\" value=\"([0-9a-z]+)\""
- type: regex
name: name
part: body
internal: true
group: 1
regex:
- "type=\"text\" name=\"([0-9a-z]+)\" id=\"login_name\" required=\"required\""
- type: regex
name: password
part: body
internal: true
group: 1
regex:
- "type=\"password\" name=\"([0-9a-z]+)\" id=\"login_password\" required=\"required\""
matchers-condition: and
matchers:
- type: word
words:
- '<title>GLPI - Standard Interface</title>'
- type: status
status:
- 200
# digest: 4a0a0047304502200b628f774dd9341af235bb1dea6ca20160ffe45e1bdc5e1bc37a64bfd8fd64f7022100af30e10f9fe23ba6e63f7da71e14c86d9581429f948a4854db3eeac297db30b2:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/default-logins/glpi/glpi-default-login.yaml"

View on Github