• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » SQL Injection : What is SQL Injection and What Actually Happens

By Abhishek Ghosh March 8, 2013 10:54 pm Updated on March 8, 2013

SQL Injection : What is SQL Injection and What Actually Happens

Advertisement

SQL Injection is the exploitation of a vulnerability in the context of SQL databases, through the lack of masking or review of meta results in user input. The hacker tries, on the application or the CMS like WordPress (MySQL), to get the access to the database and inject own database commands. The goal is to spy out data, changing its meaning or to obtain the control over the server as basically softwares like WordPress stores all information in these database.

 

Basics of SQL Injection

 

SQL injection is possible if data such as user input reaches to the SQL interpreter. This happens because the user input can contain characters that have the SQL interpreter special function and allow running database commands even without full priviledge. Such SQL metacharacters include the backslash character (backslash), the quotes, the apostrophe and semicolon.

 

Often such gaps are CGI scripts and programs to find the data as web content or emails. Taking such a program before the owner can correct it, an attacker through the strategic use of function characters inject additional SQL commands or manipulate the queries so that the additional data can be changed or displayed. In some cases it is also possible to access a shell access to get what usually means the ability to compromise the entire server.

Advertisement

---

 

For various reasons we are avoiding to provide examples of SQL Injection. One can see such an example here :

 

Vim
1
http://www.php.net/manual/en/function.mysql-real-escape-string.php

 

Countermeasures for SQL Injection

 
SQL Injection

 
Often filter or masking metacharacters are used in user input. This can mitigate the risk of SQL injection or eliminate it. In general, the Web application for the input of data needs to mask accordingly, that is basically responsible for this exploit. The simpler and safer way is, however, to keep all the data away from the SQL interpreter. The data is passed as a parameter to an already-compiled command. The data may not be interpreted and an SQL injection prevented. As a side benefit user can get a better performance too.

But also on the part of the database server there is need to meet the safety precautions. They should the user with which a Web application authenticates itself with the database server, possess only the privileges that they actually need. Thus, at least some of the possible attacks are ineffective.
Obviously, for this reasons, it is important to take regular backups.

 

Abhishek-Ghosh Tagged With injection , image of injection , injection photo , injection image , injection pic , pics of injection , injection picture , injection pictures , injection pics , injection images

This Article Has Been Shared 751 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to SQL Injection : What is SQL Injection and What Actually Happens

  • ASP or Active Server Pages

    ASP or Active Server Pages is one of Microsoft’s SSI successor technology, ASP was published in 1996 for serving interactive pages from the server to front end.

  • phpMyAdmin : Functions and Handling

    phpMyAdmin is a free server side PHP application for administering MySQL Databases through a Graphical Interface which MySQL lacks for managing it.

  • Programming Language

    Programming Language is a formal language for giving instructions to a computer or automated device which can be automatically translated into machine code.

  • PostgreSQL : Basic Details

    PostgreSQL is an object-relational database management system (ORDBMS) available for many OS including Linux, FreeBSD, Solaris, Microsoft Windows and Mac OS X.

  • Install WordPress on Mac OS X With Command Line LAMP Configuration

    Install WordPress on Mac OS X Without installing MAMP or AMPPS from Command Line just like we do for Ubuntu or any kind of Linux. Mac has PHP and virtual hosts.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • How To Repack Installed Software on Debian/Ubuntu January 16, 2021
  • Components of Agile Software Development January 15, 2021
  • What is Conway’s Law? January 14, 2021
  • Effects of Digitization on Companies : Part XIII January 13, 2021
  • What is SoftAP Mode? January 12, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "SQL Injection : What is SQL Injection and What Actually Happens," in The Customize Windows, March 8, 2013, January 16, 2021, https://thecustomizewindows.com/2013/03/sql-injection-what-is-sql-injection-and-what-actually-happens/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy