vendor:
pSys
by:
h0yt3r
5.5
CVSS
MEDIUM
SQL Injection
89
CWE
Product Name: pSys
Affected Version From: 0.7.0. alpha
Affected Version To: 0.7.0. alpha
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
Unknown
pSys – 0.7.0. alpha shownews SQL Injection
The script uses intval to convert the value of $shownews to an integer, making a normal Select Injection return nothing. However, it is still possible to inject and echo the right values using a simple CONVERT() or CAST() subquery. The table prefix is either "ps_" or "powie_" depending on the version. The script also uses a password encryption style.
Mitigation:
To mitigate this vulnerability, the application should use prepared statements or parameterized queries instead of directly concatenating user input in SQL queries. Additionally, input validation and sanitization should be performed to prevent SQL injection attacks.