## Title: spip-v4.2.3 SQLi-cookie session vulnerability - Server Side
Sensitive information Disclosure!
## Author: nu11secur1ty
## Vendor: https://www.spip.net/en_rubrique25.html
## Software: https://files.spip.net/spip/archives/spip-v4.2.3.zip
## Reference: https://portswigger.net/web-security/information-disclosure
The spip_session cookie appears to be vulnerable to SQL injection
attacks. A single quote was submitted in the spip_session cookie, and
a database error message was returned. Two single quotes were then
submitted and the error message disappeared. You should review the
contents of the error message, and the application's handling of other
input, to confirm whether a vulnerability is present.
Additionally, the payload ' and '8025'='8025 were submitted in the
spip_session cookie, and a database error message was returned.
The attacker who has an account easily can dump almost all sensitive
information from the server. This is the wrong configuration of the
sessions of this app and a serious bug in the backend execution -
function modules of this app which bug is coming from the development
team of this web application! No one user account or even broadcast
admin account, must not be seeing inside information of the server,
except on the layer 2 level, which must be a LOCAL ADMINISTRATOR! from
the side of the developers of this web app.
STATUS: HIGH-CRITICAL Vulnerability
GET /pwnedhost7/ecrire/?exec=info HTTP/1.1
Cookie: spip_admin=%40pwned%40pwned.com; spip_accepte_ajax=1;
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.134
Accept-Encoding: gzip, deflate
## Proof and Exploit:
## Time spend: