Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Curious about this attack

Can anyone answer this?

Widgets.com, a company that sells widgets online, receives orders from customers through web forms. The customer completes the form in their browser window and clicks the submit button on the page. A url containing the type of widgets, the unit price and the quantity is created by javascript code in the page and sent by the user’s browser to the widgets.com server. Upon receiving this request the widgets.com server extracts the values from the url and enters them into the order processing database as a new order. How might this scenario be exploited by an attacker, name the type of flaw?
"Design must be simple. Elegant. Implementation, less so. Sequences must change. Intent static, product fluid. Always can improve. Stressers reveal flaws. Flaws reveal potential. Always improving. Good."
The first thing that comes to mind is XSS, which basically is JavaScript code embedded in places where it shouldn't be, and which is executed whenever the page containing the injected code is loaded. It's also one of the most common vulnerabilities out there, big companies were found with XSS vulnerabilities many times before. You can learn more about it here: https://www.owasp.org/index.php/Cross-si...ting_(XSS)
(Oct 10, 2017 12:17 PM)Baud Wrote:  The first thing that comes to mind is XSS, which basically is JavaScript code embedded in places where it shouldn't be, and which is executed whenever the page containing the injected code is loaded. It's also one of the most common vulnerabilities out there, big companies were found with XSS vulnerabilities many times before. You can learn more about it here: https://www.owasp.org/index.php/Cross-si...ting_(XSS)

Great thank you!
"Design must be simple. Elegant. Implementation, less so. Sequences must change. Intent static, product fluid. Always can improve. Stressers reveal flaws. Flaws reveal potential. Always improving. Good."


Possibly Related Threads...
Thread / Author Replies Views Last Post
by chknwngzFeb 6, 2025 12:38 AM 0 174 Feb 6, 2025 12:38 AM
Last Post: chknwngz
by allsystems2Sep 9, 2019 04:14 PM 9 405 Sep 9, 2019 04:14 PM
Last Post: Venture
by Pr3nKMar 2, 2014 06:23 AM 45 3,630 Mar 2, 2014 06:23 AM
Last Post: VipVince