Reputation: 341
I'm new to web applications and haven't got much info. in google for JSON Injection.
Can you please provide some insight to the below questions.
Upvotes: 2
Views: 9253
Reputation: 19060
What is JSON Injection?
It's an attack that utilize some vulnerability about how the server read the JSON informations.
Is JSON Injection is client-side or server-side attack?
I can't say how creative an attack could be. Mostly is considered a server-side attack, because the main objective is manipulate the JSON sent to the server to see if the server handle this JSON in a unexpected way, producing the desired effect for the malicious user or showing some sensible information that can be used for him.
How can you handle JSON Injection security aspects in terms of RESTful Application?
Security is really a complex subject, even involving JSON. But I'm sure that you can take some basic actions to prevent the most obvious problems.
Some basic actions:
And read the OWASP document about AJAX. They show some good advices related with JSON.
Upvotes: 4