CVE-2017-7997: Multiple SQL injection vulnerabilities in Gespage before 7.4.9 allow remote attackers to execute arbitrary SQL
CVE-2017-7997 is a critical-severity flaw (CVSS 9.8) affecting gespage. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Multiple SQL injection vulnerabilities in Gespage before 7.4.9 allow remote attackers to execute arbitrary SQL commands via the (1) show_prn parameter to webapp/users/prnow.jsp or show_month parameter to (2) webapp/users/blhistory.jsp or (3) webapp/users/prhistory.jsp.
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 19.3% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2018-01-08 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Gespage 7.4.8 - SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-7997?
gespage: upgrade to 7.4.9. Exact commands for each OS are on this page.
Is CVE-2017-7997 being exploited?
CVE-2017-7997 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-7997 affect?
CVE-2017-7997 affects gespage. Severity is critical (CVSS 9.8). Multiple SQL injection vulnerabilities in Gespage before 7.4.9 allow remote attackers to execute arbitrary SQL commands via the (1) show_prn parameter to webapp/users/prnow.jsp or show_month parameter to (2) webapp/users/blhistory.jsp or (3
How urgent is CVE-2017-7997?
Priority 69/100. Critical severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2021-33807 HIGH 7.5 UPGRADE Cartadis Gespage through 8.2.1 allows Directory Traversal in gespage/doDownloadData and gespage/webapp/doDownl
- CVE-2018-9147 MEDIUM 6.1 DOWNGRADE Cross-site scripting (XSS) vulnerabilities in version 7.5.7 of Gespage software allow remote attackers to inje
- CVE-2017-7998 MEDIUM 6.1 UPGRADE Multiple cross-site scripting (XSS) vulnerabilities in Gespage before 7.4.9 allow remote attackers to inject a