4. What are some potential vulnerabilities of on-line shopping cart applications?
`Hey,
Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries
There are a number of reasons why security vulnerabilities arise in shopping cart and online payment systems. The reasons are not exclusive to these systems, but their impact becomes much greater simply because of the wide exposure that an online website has, and because of the financial nature of the transactions.
One of the main reasons for such vulnerabilities is the fact that web application developers are often not very well versed with secure programming techniques. As a result, security of the application is not necessarily one of the design goals. This is exacerbated by the rush to meet deadlines in the fast-moving e-commerce world. Even one day's delay in publishing a brand new feature on your website could allow a competitor to steal a march over you. We've typically found this in cases where e-commerce sites need to add functionality rapidly to deal with a sudden change in the business environment or simply to stay ahead of the competition. In such a scenario, the attitude is to get the functionality online; security can always be taken care of later. Another reason why security vulnerabilities appear is because of the inherent complexity in most online systems. Nowadays, users are placing very demanding requirements on their e-commerce providers, and this requires complex designs and programming logic.
In a number of cases, we've found that e-commerce sites tout their 128-bit SSL certificates as proof that their sites are well secured. The gullibility of customers to believe in this has reduced over the past few years, but even now there are thousands of web sites displaying Verisign or Thawte certificate icons as proof of their security.
SQL Injection
SQL injection refers to the insertion of SQL meta-characters in user input, such that the attacker's queries are executed by the back-end database. Typically, attackers will first determine if a site is vulnerable to such an attack by sending in the single-quote (') character. The results from an SQL injection attack on a vulnerable site may range from a detailed error message, which discloses the back-end technology being used, or allowing the attacker to access restricted areas of the site because he manipulated the query to an always-true Boolean value, or it may even allow the execution of operating system commands.
Price Manipulation
This is a vulnerability that is almost completely unique to online shopping carts and payment gateways. In the most common occurrence of this vulnerability, the total payable price of the purchased goods is stored in a hidden HTML field of a dynamically generated web page. An attacker can use a web application proxy such as Achilles to simply modify the amount that is payable, when this information flows from the user's browser to the web server. Shown below is a snapshot of just such a vulnerability that was discovered in one of the author's penetration testing assignments.
Buffer overflows
Buffer overflow vulnerabilities are not very common in shopping cart or other web applications using Perl, PHP, ASP, etc. However, sending in a large number of bytes to web applications that are not geared to deal with them can have unexpected consequences. In one of the author's penetration testing assignments, it was possible to disclose the path of the PHP functions being used by sending in a very large value in the input fields. As the sanitized snapshot below shows, when 6000 or more bytes were fed into a particular field, the back-end PHP script was unable to process them and the error that was displayed revealed the location of these PHP functions.
Cross-site scripting
The Cross-site Scripting (XSS) [ref 6] attack is primarily targeted against the end user and leverages two factors:
The XSS attack requires a web form that takes in user input, processes it, and prints out the results on a web page, which also contains the user's original input. It is most commonly found in 'search' features, where the search logic will print out the results along with a line such as 'Results for <user_supplied_input>'. In this case, if the user input is printed out without being parsed, then an attacker can embed JavaScript by supplying it as part of the input. By crafting a URL, which contains this JavaScript, a victim can be social engineered into clicking on it, and the script executes on the victim's system. A typical XSS attack URL would look like this: http://www.vulnerablesite.com/cgi-bin/search.php?keywords=<script>alert("OK")<script>. In this case, when the victim clicks on this link, a message box with the text "OK" will open up on his system.
Kindly revert for any queries
Thanks.
4. What are some potential vulnerabilities of on-line shopping cart applications?
The mass of a publix shopping
cart is 30.00kg. While shopping, if you push a cart with a force of
35.0 N directed at an angle of 25.0° downward from the horizontal.
as it moves a horizontal distance of 50 m, what is the work done by
you on the cart?
The mass of a publix shopping cart is 30.00kg. While shopping, if you push a cart with a force of 35.0 N directed at an angle of 25.0° downward...
11.12 LAB*: Program: Online shopping cart (continued)This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program).(1) Extend the ItemToPurchase class to contain a new attribute. (2 pts)item_description (string) - Set to "none" in default constructorImplement the following method for the ItemToPurchase class.print_item_description() - Prints item_description attribute for an ItemToPurchase object. Has an ItemToPurchase parameter.Ex. of print_item_description() output:Bottled Water: Deer Park, 12 oz.(2) Build the ShoppingCart class with the following data attributes and related methods. Note: Some can be method stubs...
What are key areas to focus on when reviewing applications and resumes? What are some potential red flags that you have observed in reviewing resumes and applications?
What are key areas to focus on when reviewing applications and resumes? What are some potential red flags that you have observed in reviewing resumes and applications?
Say you went shopping, and you are pushing a shopping cart with a force F and the force makes an angle a=20 degrees bellow the horizontal. The cart moves with constant velocity and traveled a distace 10m. The frictionfoorce is 50N. a) Find the magnitude of the force you applied on the cart b)Find the work done by the force to push the cart c)Find the work done by the friction force. d) what will be the work done by...
7.11 LAB: Online shopping cart - Part 2 This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program). (1) Extend the ItemToPurchase namedtuple to contain a new attribute. (2 pts) item_description (string) - Set to "none" in the construct_item() function Implement the following function with an ItemToPurchase as a parameter. print_item_description() - Prints item_name and item_description attribute for an ItemToPurchase namedtuple. Has an ItemToPurchase parameter. Ex. of print_item_description() output: Bottled Water: Deer Park, 12 oz....
A 30 kg kid is riding on the front of a 60 kg shopping cart that is rolling (in the positive direction) at 3.8 m/s. The kid jumps off the cart by pushing off it as it rolls. The kid continues forward at 8.4 m/s. What is the final velocity of the shopping cart afterwards?
A shopper pushes a 5.2 kg shopping cart in such a way that the net force on the cart is 43 N. What is the acceleration of the cart?
JAVA
i need write java program
Object Classes: designing Shopping Cart
1.Shopping Cart , build a checkout system for a shop which sells
items (i.e., products say Bread, Milk, and Bananas). A shopping
cart that can have multiples. Costs of the products are : Bread -
$1, Milk - $0.60 and Banana - $0.40. A system should displays the
order total.
2.The heart of a shopping cart can be represented in three
classes: a cart class an order class, and...
If a shopping cart with a mass of 25kg is pushed with a net force of 60 N, what will be the cart's acceleration?