18-Apr-2019, 06:31 AM
Hello,
I am exploring your framework and it shows that you have put a lot of work into it. Thank you for making it available Open Source.
However there are some security issues.
First, it is possible for anyone who knows the name and email of a user to spoof a comment by changing the value (even hidden or disabled) in browser dev tools, and the name and email in the POST will be used regardless of what was set for $cmtx_name and $cmtx_email in the php backend.
To overcome this i am trying to access SESSION values to check against in the submit() function in /frontend/controller/main/form.php but the SESSION is not available. It is available in the index() function when page loads, but not through ajax in the submit() function.
Am i missing something here ? What do you recommend ?
Thank you.
I am exploring your framework and it shows that you have put a lot of work into it. Thank you for making it available Open Source.
However there are some security issues.
First, it is possible for anyone who knows the name and email of a user to spoof a comment by changing the value (even hidden or disabled) in browser dev tools, and the name and email in the POST will be used regardless of what was set for $cmtx_name and $cmtx_email in the php backend.
To overcome this i am trying to access SESSION values to check against in the submit() function in /frontend/controller/main/form.php but the SESSION is not available. It is available in the index() function when page loads, but not through ajax in the submit() function.
Am i missing something here ? What do you recommend ?
Thank you.