Skip to main content
Vulnerability Database/CVE-2026-110100

CVE-2026-110100: Jorani SSRF Vulnerability

CVE-2026-110100 is a server-side request forgery flaw in Jorani that allows authenticated attackers to forge requests against internal hosts. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-110100 Overview

CVE-2026-110100 is a missing authorization vulnerability [CWE-862] in Jorani, an open-source leave management application, affecting versions prior to 1.0.4. The flaw resides in the Contracts::import() controller method, which does not verify that the authenticated caller holds the adddayoff_contract permission. Any authenticated user can submit a contract identifier and an arbitrary URL via a POST request to overwrite non-working-day calendars on any contract. The handler also calls PHP's get_headers() and fopen() on the attacker-supplied URL, enabling server-side request forgery (SSRF) against internal hosts reachable from the application server.

Critical Impact

Authenticated low-privilege users can tamper with organization-wide contract calendars and pivot the application server into internal network reconnaissance via SSRF.

Affected Products

  • Jorani leave management application versions prior to 1.0.4
  • Confirmed vulnerable in Jorani v1.0.2 (application/controllers/Contracts.php)
  • Fixed in Jorani release v1.0.4

Discovery Timeline

  • 2026-10-13 - CVE-2026-110100 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-110100

Vulnerability Analysis

The import() action in the Contracts controller accepts two POST parameters: contract (a contract identifier) and url (an iCalendar source). The pre-patch implementation performs URL validation with filter_var() and connectivity checks using @get_headers(), then loads dayoffs_model and calls importDaysOffFromICS($contract, $url). No authorization check gates this flow, so the application accepts the request from any authenticated session regardless of role.

Two distinct impacts result. First, any user can overwrite the non-working-day calendar associated with any contract identifier they can enumerate, corrupting leave accounting across the tenant. Second, the server performs outbound HTTP requests to the attacker-controlled URL via get_headers() and later fopen() inside the ICS import routine. This produces a classic SSRF primitive: internal IP addresses, cloud metadata endpoints, and loopback-bound services become reachable from the application server.

Root Cause

The root cause is a missing authorization check. The patched controller introduces $this->auth->isAllowed('adddayoff_contract') and returns HTTP/1.1 403 Forbidden when the caller lacks the permission. The vulnerable version omits this guard entirely, violating the principle of complete mediation.

Attack Vector

Exploitation requires a valid authenticated session but no elevated privileges. An attacker submits a crafted POST request to the Contracts/import endpoint with a target contract identifier and a url pointing to an attacker-hosted ICS file or an internal URL. The server validates the URL format, probes it with get_headers(), and if the response is HTTP 200, invokes importDaysOffFromICS() which opens the URL with fopen() and parses its contents into the database.

php
     public function import(): void
     {
-        header("Content-Type: text/plain");
-        $contract = $this->input->post('contract', TRUE);
-        $url = $this->input->post('url', TRUE);
-        //Check validity of URL and if the endpoint is reachable
-        if (!filter_var($url, FILTER_VALIDATE_URL) === FALSE) {
-            $headers = @get_headers($url);
-            if ($headers === false || strpos($headers[0], '200') === FALSE) {
-                echo ("$url was not found or distant server is not reachable");
+        if ($this->auth->isAllowed('adddayoff_contract') === FALSE) {
+            $this->output->set_header("HTTP/1.1 403 Forbidden");
+        } else {
+            header("Content-Type: text/plain");
+            $contract = $this->input->post('contract', TRUE);
+            $url = $this->input->post('url', TRUE);
+            if (!filter_var($url, FILTER_VALIDATE_URL) === FALSE) {
+                $headers = @get_headers($url);
+                if ($headers === false || strpos($headers[0], '200') === FALSE) {
+                    echo ("$url was not found or distant server is not reachable");
+                } else {
+                    $this->load->model('dayoffs_model');
+                    $this->dayoffs_model->importDaysOffFromICS($contract, $url);
+                }
             } else {
-                $this->load->model('dayoffs_model');
-                $this->dayoffs_model->importDaysOffFromICS($contract, $url);
+                echo ("$url is not a valid URL");

Source: Jorani Commit 59c4032 — this patch adds the missing isAllowed('adddayoff_contract') check that denies unauthorized callers with a 403 response.

Detection Methods for CVE-2026-110100

Indicators of Compromise

  • POST requests to /Contracts/import or /index.php/Contracts/import originating from accounts without the adddayoff_contract permission.
  • Outbound HTTP requests from the Jorani application server to internal IP ranges (RFC1918), loopback addresses, or cloud metadata endpoints such as 169.254.169.254.
  • Unexpected modifications to the dayoffs table or non-working-day calendars for contracts the acting user does not own.

Detection Strategies

  • Review web server access logs for POST requests to the Contracts/import route and correlate the authenticated user against role assignments permitted to manage contracts.
  • Inspect application logs for ICS import activity, cross-referencing the contract parameter with the acting user's scope.
  • Monitor egress traffic from the Jorani host for anomalous destinations invoked by PHP's get_headers() or fopen() stream wrappers.

Monitoring Recommendations

  • Enable verbose audit logging in Jorani and forward web and application logs to a centralized analytics platform for retrospective hunting.
  • Alert on repeated 200/403 responses from the Contracts/import endpoint, which may indicate authorization probing.
  • Baseline normal outbound destinations from the Jorani server and alert on deviations, particularly connections to metadata services or private network ranges.

How to Mitigate CVE-2026-110100

Immediate Actions Required

  • Upgrade Jorani to version 1.0.4 or later, which introduces the isAllowed('adddayoff_contract') authorization check in the import() method.
  • Audit existing user accounts and remove unnecessary privileges to reduce the pool of users capable of invoking the vulnerable endpoint.
  • Review contract and day-off records for unauthorized modifications introduced prior to patching.

Patch Information

The fix is included in Jorani Release v1.0.4 Notes and implemented in commit 59c4032, as discussed in Jorani Issue #426. The patch adds the missing permission check to Contracts::import() and tightens access controls on related leave request features. See the VulnCheck Advisory: Jorani SSRF for additional context.

Workarounds

  • Restrict network access to the Jorani application behind a reverse proxy that blocks POST requests to the Contracts/import route for users outside administrative groups.
  • Deploy egress filtering on the application server to deny outbound requests to RFC1918, loopback, link-local, and cloud metadata address ranges.
  • Temporarily disable the day-off import feature in deployments that cannot upgrade immediately.
bash
# Example nginx snippet to block the vulnerable endpoint until upgrade
location ~* /index\.php/Contracts/import {
    deny all;
    return 403;
}

# Example iptables egress rule blocking cloud metadata and RFC1918 targets
iptables -A OUTPUT -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -p tcp --dport 80 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -p tcp --dport 80 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.