CVE-2008-3861: SQL Injection in phpMyRealty 1.0.9 and earlier
- Vendor
- Phpmyrealty
CVE-2008-3861 describes multiple SQL injection vulnerabilities in phpMyRealty (PMR) version 1.0.9 and earlier. The vulnerabilities exist in the handling of user-supplied input to the 'id' parameter in pages.php and the 'price_max' parameter in search.php, which are not properly sanitized before being used in SQL queries. This allows remote attackers to inject arbitrary SQL commands into the application's database queries.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary SQL commands against the application's backend database. This can lead to unauthorized data access, data modification, or deletion, and potentially full compromise of the application and underlying server if further chained with other vulnerabilities.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, implement input validation and sanitization for all user-supplied parameters, especially 'id' in pages.php and 'price_max' in search.php. Use prepared statements or parameterized queries to prevent SQL injection. Restrict database user privileges to minimize the impact of a successful attack.
Remediation
Patch, then assume compromise.
Upgrade to a version of phpMyRealty that properly sanitizes user input for SQL queries. Apply patches or updates provided by the vendor that address these SQL injection vulnerabilities.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2008-3861 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-3861 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-3861?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2008-3861.
- Is there a patch for CVE-2008-3861?
- Upgrade to a version of phpMyRealty that properly sanitizes user input for SQL queries. Apply patches or updates provided by the vendor that address these SQL injection vulnerabilities.
- What products are affected by CVE-2008-3861?
- Phpmyrealty.
- How severe is CVE-2008-3861?
- CVE-2008-3861 has a CVSS v2 score of 7.5 (High) and an EPSS score of 1.00% (64th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.