CVE-2007-6171 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands in Asterisk via the Postgres Realtime Engine, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-6171?

CVE-2007-6171 is a high-severity SQL injection vulnerability in Digium Asterisk, published on 30 Nov 2007. It can be exploited over the network, with no action from the victim.

Official description

SQL injection vulnerability in the Postgres Realtime Engine (res_config_pgsql) in Asterisk 1.4.x before 1.4.15 and C.x before C.1.0-beta6 allows remote attackers to execute arbitrary SQL commands via unknown vectors.

Weakness: CWE-89

Which versions are affected by CVE-2007-6171?

It affects 1 product.

Products include Digium Asterisk.

How do I fix CVE-2007-6171?

Upgrade to a fixed version.

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-2007-6171 being exploited?

There is no known exploitation of CVE-2007-6171 in the wild and no public exploit code.

All Digium Asterisk vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-6171, GHSA-23mh-p5gr-48gh.

Is CVE-2007-6171 in your software?

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

Check your SBOMs for free