<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 05:36:41 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2025-69215</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2025-69215</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2025-69215</guid>
    </item>
    <item>
      <title>GHSA-qx9p-w3vj-q24q — OpenSTAManager has an SQL Injection in the Stampe Module</title>
      <link>https://db.gcve.eu/vuln/ghsa-qx9p-w3vj-q24q</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Packagist: devcode-it/openstamanager&lt;/p&gt;
&lt;p&gt;## Vulnerability Details&lt;/p&gt;
&lt;p&gt;### Location
- **File:** `modules/stampe/actions.php`
- **Line:** 26
- **Vulnerable Code:**
```php
case &amp;#39;update&amp;#39;:
    if (!empty(intval(post(&amp;#39;predefined&amp;#39;))) &amp;amp;&amp;amp; !empty(post(&amp;#39;module&amp;#39;))) {
        $dbo-&amp;gt;query(&amp;#39;UPDATE `zz_prints` SET `predefined` = 0 WHERE `id_module` = &amp;#39;.post(&amp;#39;module&amp;#39;));
        // ↑ Direct concatenation without prepare() sanitization
    }
```&lt;/p&gt;
&lt;p&gt;### Root Cause&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;**Vulnerable Pattern:**
```php
// Line 25: intval() protects predefined, but module is not sanitized!
if (!empty(intval(post(&amp;#39;predefined&amp;#39;))) &amp;amp;&amp;amp; !empty(post(&amp;#39;module&amp;#39;))) {
    // Line 26: Direct concatenation - VULNERABLE
    $dbo-&amp;gt;query(&amp;#39;UPDATE ... WHERE `id_module` = &amp;#39;.post(&amp;#39;module&amp;#39;));
}
```&lt;/p&gt;
&lt;p&gt;## Exploitation
### Vulnerable Endpoint
```
POST /modules/stampe/actions.php
```&lt;/p&gt;
&lt;p&gt;### Required Parameters
```
op=update
id_record=1
predefined=1 (must be non-zero after intval())
module=[INJECTION_PAYLOAD]
title=Test
filename=test.pdf
```&lt;/p&gt;
&lt;p&gt;### Authentication Requirement
- Requires valid authenticated session (any user with access to Stampe module)
- **VERIFIED:** Users with &amp;#34;Tecnici&amp;#34; group access can exploit (NOT admin-only!)
- **PoC:** Demo at https://demo.osmbusiness.it with credentials tecnico/tec…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Packagist: devcode-it/openstamanager&lt;/p&gt;
&lt;p&gt;## Vulnerability Details&lt;/p&gt;
&lt;p&gt;### Location
- **File:** `modules/stampe/actions.php`
- **Line:** 26
- **Vulnerable Code:**
```php
case &amp;#39;update&amp;#39;:
    if (!empty(intval(post(&amp;#39;predefined&amp;#39;))) &amp;amp;&amp;amp; !empty(post(&amp;#39;module&amp;#39;))) {
        $dbo-&amp;gt;query(&amp;#39;UPDATE `zz_prints` SET `predefined` = 0 WHERE `id_module` = &amp;#39;.post(&amp;#39;module&amp;#39;));
        // ↑ Direct concatenation without prepare() sanitization
    }
```&lt;/p&gt;
&lt;p&gt;### Root Cause&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;**Vulnerable Pattern:**
```php
// Line 25: intval() protects predefined, but module is not sanitized!
if (!empty(intval(post(&amp;#39;predefined&amp;#39;))) &amp;amp;&amp;amp; !empty(post(&amp;#39;module&amp;#39;))) {
    // Line 26: Direct concatenation - VULNERABLE
    $dbo-&amp;gt;query(&amp;#39;UPDATE ... WHERE `id_module` = &amp;#39;.post(&amp;#39;module&amp;#39;));
}
```&lt;/p&gt;
&lt;p&gt;## Exploitation
### Vulnerable Endpoint
```
POST /modules/stampe/actions.php
```&lt;/p&gt;
&lt;p&gt;### Required Parameters
```
op=update
id_record=1
predefined=1 (must be non-zero after intval())
module=[INJECTION_PAYLOAD]
title=Test
filename=test.pdf
```&lt;/p&gt;
&lt;p&gt;### Authentication Requirement
- Requires valid authenticated session (any user with access to Stampe module)
- **VERIFIED:** Users with &amp;#34;Tecnici&amp;#34; group access can exploit (NOT admin-only!)
- **PoC:** Demo at https://demo.osmbusiness.it with credentials tecnico/tec…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-qx9p-w3vj-q24q</guid>
    </item>
  </channel>
</rss>
