Jump to content
Old threads will finally start getting archived Γ—
🚨🚨 GAME-CHANGING ANNOUNCEMENT FROM PHP FREAKS 🚨🚨 Γ—

Recommended Posts

So this is my first CMS. I plan on giving it away to clients i freelance to.

Β 

www.sushii.orgΒ  front side

Β 

This is beta test...so not only am i looking for security holes, but also bugs, so i'll give credentials to admin side..be considerate though.

www.sushii.org/admin/login.php

Β 

username: [email protected]

password: demo

Β 

Β 

If you find anything wrong/bad, please let me know. I think i may release this to opencms.

Β 

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/137454-my-first-cms/
Share on other sites

Unsafe Injection:

Β 

Error:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UNION SELECT 1,2,3,4,5,6,7,8,9,10' at line 1

Β 

when you output variables in links try using urlencode() this helps protect against injection through links.

Link to comment
https://forums.phpfreaks.com/topic/137454-my-first-cms/#findComment-718293
Share on other sites

on all your pages have you used strip_tags(),trim() and htmlspecialchars($var,ENT_QUOTES);

Β 

this will stop injection i put alert('this is injection') and it popped up a message saying "alert this is injection" so i just ask about this ???

Link to comment
https://forums.phpfreaks.com/topic/137454-my-first-cms/#findComment-718316
Share on other sites

I had to use htmlspecialchars, not strip_tags because user mihgt want to insert code in the content.

Β 

But the funny thing is, if i put a ' in front of the page name when editing a page, the main content of the page won't show...? what the heck.

Link to comment
https://forums.phpfreaks.com/topic/137454-my-first-cms/#findComment-718394
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.