[mythtv-commits] Ticket #792: SQL "injection" in mythtv-setup (User Jobs)

MythTV mythtv at cvs.mythtv.org
Sun Dec 11 17:04:04 EST 2005


#792: SQL "injection" in mythtv-setup (User Jobs)
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr 
     Type:  defect     |      Status:  new 
 Priority:  minor      |   Milestone:      
Component:  mythtv     |     Version:  head
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 When configuring user jobs, I was naively shielding my parameters with
 single quotes, i.e. '%FILE%'.

 Using svn 8219.

 I did not test other fields in mythtv-setup or mythfrontend. A general
 filtering/escaping function should be called on anything that would get
 passed to a SQL query...

 Btw the error message from mythtv-setup read:

 2005-12-11 22:47:40.327 DB Error (simpledbstorage update):
 Query was:

 No error type from QSqlError?  Strange...

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/792>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list