Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6252841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:52:45+00:00 2026-05-24T13:52:45+00:00

I have project developed using cakephp 1.3 and for testing I used SQL Inject

  • 0

I have project developed using cakephp 1.3 and for testing I used SQL Inject me addon (firefox)

From cakephp manual, what I understood is, the save() and find() methods will automatically protect the data from SQL injection. But while running “SQL inject me” test, I am always getting failures as result.

For ex: Results:
Server Status Code: 302 Found
Tested value: 1′ AND 1=(SELECT COUNT(*) FROM tablenames); —
Server Status Code: 302 Found
Tested value: ‘; DESC users; —
Server Status Code: 302 Found
Tested value: 1’1

I have tried with cakephp santize methods, then also I am getting the errors in “sql inject me”.

Any help ?

Sample code

$this->data['User'] = Sanitize::clean($this->data['User'], array('encode' => false));
$this->User->save($this->data); 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:52:45+00:00Added an answer on May 24, 2026 at 1:52 pm

    How to fix Server Status Code: 302 Found by SQL Inject Me Firefox Addon

    that error shows that the sql injection has been prevented. You don’t need Sanitize for SQL injection, but for XSS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've inherited a java project that appears to have been developed using the NetBeans
I have a Blackberry project developed in Eclipse using the Blackberry Plugin for Eclipse.
I have a VB.NET 2.0 project developed using VS2005 Free Edition and I am
I have a project converted from .NET 1.1 to 3.5 being developed in 2008.
I have created a setup project for a Windows Application developed using Visual Stduio
We have a Java EE 5 project developed using Netbeans 6.7.1 with Glassfish v2.1.
I have developed a project using MVC3 and Code first Entity Framework 4.0 as
I have an ATL/WTL project developed using Visual Studio 2008 and up until now
I have developed a project in Java using NetBeans 6.1. I need to add
I have a project where multiple developers are using a copy of the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.