CVE-2026-34036
MEDIUMDolibarr Core Discloses Sensitive Data via Authenticated Local File Inclusion in selectobject.php
Title source: cnaExploitation Summary
EIP tracks 2 public exploits for CVE-2026-34036. PoCs published by adminlove520, cnf409.
AI-analyzed exploit summary The repository contains a functional Python script that exploits an authenticated Local File Inclusion (LFI) vulnerability in Dolibarr via the `selectobject.php` endpoint. The script logs in, sends a crafted request to read arbitrary files, and displays the output.
Description
Dolibarr is an enterprise resource planning (ERP) and customer relationship management (CRM) software package. In versions 22.0.4 and prior, there is a Local File Inclusion (LFI) vulnerability in the core AJAX endpoint /core/ajax/selectobject.php. By manipulating the objectdesc parameter and exploiting a fail-open logic flaw in the core access control function restrictedArea(), an authenticated user with no specific privileges can read the contents of arbitrary non-PHP files on the server (such as .env, .htaccess, configuration backups, or logs…). At time of publication, there are no publicly available patches.
Exploits (2)
The repository contains a functional Python script that exploits an authenticated Local File Inclusion (LFI) vulnerability in Dolibarr via the `selectobject.php` endpoint. The script logs in, sends a crafted request to read arbitrary files, and displays the output.
The repository contains a functional Python script that exploits an authenticated Local File Inclusion (LFI) vulnerability in Dolibarr via the `selectobject.php` endpoint. The script logs in, sends a crafted request to read arbitrary files, and prints the file contents.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N