Menu

#122 Security problem (unescaped id) in ct_sql

7.2.x
open
nobody
DB_SQL (15)
5
2003-05-14
2003-05-14
Anonymous
No

Hello.

ct_sql.inc is wrong. You are assuming that $id is
always going to be 'safe', and basically it isn't.

function ac_store (and others) that take $id in should
use addslashes, or the postgres addslashes equivalent.

Regards,

g0tai

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.