Piwigo SQL Injection vulnerability in "User-Agent"
Description
Piwigo is open source photo gallery software. Prior to version 13.8.0, there is a SQL Injection vulnerability in the login of the administrator screen. The SQL statement that acquires the HTTP Header User-Agent is vulnerable at the endpoint that records user information when logging in to the administrator screen. It is possible to execute arbitrary SQL statements. Someone who wants to exploit the vulnerability must be log in to the administrator screen, even with low privileges. Any SQL statement can be executed. Doing so may leak information from the database. Version 13.8.0 contains a fix for this issue. As another mitigation, those who want to execute a SQL statement verbatim with user-enterable parameters should be sure to escape the parameter contents appropriately.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/Piwigo/Piwigo/blob/c01ec38bc43f09424a8d404719c35f963d63cf00/include/dblayer/functions_mysqli.inc.phpmitrex_refsource_MISC
- github.com/Piwigo/Piwigo/blob/c01ec38bc43f09424a8d404719c35f963d63cf00/include/functions.inc.phpmitrex_refsource_MISC
- github.com/Piwigo/Piwigo/commit/978425527d6c113887f845d75cf982bbb62d761amitrex_refsource_MISC
- github.com/Piwigo/Piwigo/security/advisories/GHSA-934w-qj9p-3qcxmitrex_refsource_CONFIRM
- piwigo.org/release-13.8.0mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.