jonathanwalkerscripts / OppChasers

A repository for the QA Specialized Course team, the Opp Chasers.
3 stars 1 forks source link

Showcase bug #2 (eBay's SQL injection defense bug)😢 #156

Open therealjustinmiller79 opened 3 years ago

therealjustinmiller79 commented 3 years ago

Environment

Device: HP ProBook 440 G7 Version: 10.0.19042 Build 19402 Browser: Google Chrome Version 88.0.4324.192 (Official Build) (64-bit) User type: User

Description

Entering programming language resembling SQL injection into eBay's search bar restricts the user's access in the form of a bug.

Expected behavior

It is usually expected that when entering a search query the program will provide a match, a cross-reference, or some form of message stating that the result wasn't found allowing the user to continue their search.

Actual Behavior

Errors result when text that resembles SQL injection is entered into the search bar. Error #1: SQL injection text (Robert'); DROP TABLE Students;--)remains in the search bar despite attempts to start a new search. Error #2: The user is taken to a page that says Access Denied after hitting enter on a new search.

Steps to Reproduce Issue

  1. Navigate to https://www.ebay.com/.
  2. Right click in the search bar and select Bug Magnet> Format exploit> SQL Injection.
  3. Once the SQL injection text is in the search bar hit enter.
  4. Random results should be displayed. Erase the text in the search bar and enter a new search. (For example: I used 'Highboy dresser'.
  5. User is taken to a page that says 'Access Denied'.
  6. Attempting to hit the Back button will take the user back to step 4 in the same scenario, same with Refresh.

Screenshots

1. Example of the right click drop-down menu.

image

2. Example of page in step 5.

image

3. Example of SQL Injection text in search bar.

image

*Why this bug is important...

  1. SQL Injection attacks can be completely avoided using certain programming techniques. While eBay's page does defend itself, the fact that it is responsive at all presents an issue, the programming should be updated.

  2. An average user may use characters and words similar to that found in the SQL Injection text and trigger the bug. A user (especially a new user) may be lost after experiencing difficulty using the search bar.