<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T05:36:34.788642+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2025-69215</id>
    <title>fkie_cve-2025-69215</title>
    <updated>2026-10-01T05:36:34.815097+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>OpenSTAManager is an open source management software for technical assistance and invoicing. In version 2.9.8 and prior, there is a SQL Injection vulnerability in the Stampe Module. At time of publication, no known patch exists.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2025-69215"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-qx9p-w3vj-q24q</id>
    <title>GHSA-qx9p-w3vj-q24q — OpenSTAManager has an SQL Injection in the Stampe Module</title>
    <updated>2026-10-01T05:36:34.815169+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: devcode-it/openstamanager</p>
<p>## Vulnerability Details</p>
<p>### Location
- **File:** `modules/stampe/actions.php`
- **Line:** 26
- **Vulnerable Code:**
```php
case 'update':
    if (!empty(intval(post('predefined'))) &amp;&amp; !empty(post('module'))) {
        $dbo-&gt;query('UPDATE `zz_prints` SET `predefined` = 0 WHERE `id_module` = '.post('module'));
        // ↑ Direct concatenation without prepare() sanitization
    }
```</p>
<p>### Root Cause</p>
<p>The `module` parameter from POST data is directly concatenated into an SQL UPDATE query without using the `prepare()` sanitization function. While the `predefined` parameter is validated with `intval()`, the `module` parameter only has an `!empty()` check, which does NOT prevent SQL injection.</p>
<p>**Vulnerable Pattern:**
```php
// Line 25: intval() protects predefined, but module is not sanitized!
if (!empty(intval(post('predefined'))) &amp;&amp; !empty(post('module'))) {
    // Line 26: Direct concatenation - VULNERABLE
    $dbo-&gt;query('UPDATE ... WHERE `id_module` = '.post('module'));
}
```</p>
<p>## Exploitation
### Vulnerable Endpoint
```
POST /modules/stampe/actions.php
```</p>
<p>### Required Parameters
```
op=update
id_record=1
predefined=1 (must be non-zero after intval())
module=[INJECTION_PAYLOAD]
title=Test
filename=test.pdf
```</p>
<p>### Authentication Requirement
- Requires valid authenticated session (any user with access to Stampe module)
- **VERIFIED:** Users with "Tecnici" group access can exploit (NOT admin-only!)
- **PoC:** Demo at https://demo.osmbusiness.it with credentials tecnico/tec…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-qx9p-w3vj-q24q"/>
  </entry>
</feed>
