Rebuild Database | Login
  • Getting Started with WebGoat.NET
    • Welcome
    • Web Proxy Test
    • Testing Database
  • WebGoat Coins Customer Portal
    • Customer Login
    • Forgot Password
    • Change Password
    • Customer Portal
    • Product Catalog
    • Product Details
    • Customer Orders
    • Logout
  • Injection Attacks
    • SQL Error Messages
    • Exploiting SQL Injection
    • File Download Path Manipulation
    • File Upload Path Manipulation
  • Cross Site Scripting (XSS)
    • Stored XSS
    • Reflected XSS
  • Authentication Issues
    • Insecure Forgot Password
  • Testing and Debugging
    • Exploiting Debug Page
  • Encryption
    • Encryption vs Encoding
    • Insecure Message Digest
    • Weak Random Number Generators
  • .NET Exploits
    • Unsafe blocks
Skip Navigation LinksOWASP.WebGoat.NET Injection Attacks File Download Path Manipulation

Lesson Instructions

This lesson illustrates the common problem of trusting a user-supplied filename, then using it to generate a file path. Try manipulating the get paramter and download WebGoat.NET's Web.config file!

Files available for download

Here are files available for download. Please click on a file and the download should initiate within 10 seconds.

architecture.pdf
authentication.pdf
csrf.pdf
transport_layer.pdf