CVE-2019-25580 ownDMS 4.7 SQL Injection via pdfstream.php imagestream.php

High 8.8 Published Updated

Unauthenticated attackers can execute arbitrary SQL queries via the IMG parameter to extract sensitive database information from ownDMS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-25580?

CVE-2019-25580 is a high-severity SQL injection vulnerability in ownDMS, published on 21 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ownDMS 4.7 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the IMG parameter. Attackers can send GET requests to pdfstream.php, imagestream.php, or anyfilestream.php with crafted SQL payloads in the IMG parameter to extract sensitive database information including version and database names.

Weakness: CWE-434

Which versions are affected by CVE-2019-25580?

It affects 1 product.

Products include Owndms Owndms.

How do I fix CVE-2019-25580?

No fix has been published for CVE-2019-25580 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2019-25580 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25580 exists.

Sources

Also known as GHSA-5jvc-6gmm-9m79.

Is CVE-2019-25580 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free