RTFM_ security field notes

GLPI: assessment with glpwnme

Select GLPI checks and exploit modules with glpwnme, distinguish fingerprints from proof, and account for side effects.

GLPI is an asset-management and helpdesk application. glpwnme combines fingerprinting, plugin enumeration and exploit modules. Confirm the core build, plugin versions and effective account profile before selecting a path.

Installation

From a reviewed checkout of the upstream repository:

pipx install .
glpwnme --help

Record the checkout revision: available modules and flags change between releases.

Select a module

Before choosing a module, distinguish:

  • Application identity: a GLPI login page or assets identify a likely product; an HTTP server header does not identify GLPI.
  • Core version: prefer the installed release/package information supplied by the administrator over a static-file fingerprint.
  • Plugin version and state: track these separately from the core release.
  • Authentication context: note whether the module requires an account, a particular profile or a specific login source.

Use the application root, such as /glpi/, not /front/helpdesk.php.

GLPI_URL='https://glpi.example.org/glpi/'
# Local version-based lookup; no target contacted
glpwnme --find-by-version 10.0.2
# Read one module's prerequisites and options
glpwnme -t "$GLPI_URL" -e CVE_2022_35914 --infos

Version matching only selects candidates. Core and plugin advisories have different prerequisites; a missing match does not establish that GLPI is secure.

Bulk checks

# Check candidate modules, retaining the default opsec filter
glpwnme -t "$GLPI_URL" --check-all
# Also allow checks marked non-opsec-safe by their authors
glpwnme -t "$GLPI_URL" --check-all --no-opsec

--no-opsec is the actual flag, not --no-secops. It disables the tool’s check-safety filter, not authentication or version requirements. Neither command means “run every exploit”; module checks can nevertheless have side effects. Review their impact before broad testing.

Read the result carefully: the summary can include version-only candidates when no check exists, credentials are missing or the opsec filter blocks a check. A listed module is not necessarily a successfully verified vulnerability.

Check and exploit a selected path

Historical example: CVE-2022-35914 concerns code injection through an exposed htmLawed test script.

glpwnme -t "$GLPI_URL" -e CVE_2022_35914 --check

In the reviewed module, this check only tests whether the endpoint returns HTTP 200. A login page, proxy response or patched script can invalidate that conclusion; it does not demonstrate command execution.

With the affected code and exposure confirmed, and execution explicitly within scope:

glpwnme -t "$GLPI_URL" -e CVE_2022_35914 --run

This module opens an interactive command prompt; exit leaves it. It executes as the web application account, not necessarily root. Other modules have different behavior and may require authentication or -O key=value options.

Caution: session initialization itself makes requests and may offer an automatic exploitation chain. Do not accept that escalation as part of a check. The tool’s “opsec safe” label is not a no-impact guarantee.

Authentication, plugins and recovery
  • For authenticated modules, supply -u "$GLPI_USER" -p "$GLPI_PASSWORD"; --auth selects the login source and --profile selects an available profile. Arguments may be visible in process listings.
  • With SSO, --cookie "$GLPI_COOKIE" --no-init can preserve an existing session during initialization. Module workflows may still log out; this flag does not make a check passive.
  • glpwnme -t "$GLPI_URL" --list-plugins sends enumeration requests. A guessed plugin path does not prove installation or an affected version.
  • Review log.glpwnme privately: it can contain cookies, tokens and restoration details. Some modules change files or settings.
  • --clean is module-specific and may be unimplemented. Plan restoration before execution; verify the original state afterward rather than trusting a message.

Sources

Reviewed 2026-11-23; no target testing performed. Version 3 (2026-11-24) adds the HTTP entry point and product-selection guidance; the glpwnme source review remains pinned to the revision below.

Provenance and confidence
Version
3
Sources reviewed
2026-11-23
Confidence
medium — Upstream README, CLI, workflow and CVE-2022-35914 module reviewed at commit 9086f4c7cc08a24ea98c2104b1b116cdbf2312fc on 2026-11-23, with the CNA record. V2 documents bulk checks and no-opsec using the orchestrator source. No target testing; tool coverage is not a complete applicability assessment.

Also searched as: glpi, glpwnme, glpwn, exploitation GLPI, audit GLPI, vulnérabilités GLPI, gestion de parc