Vulnerable test application: Simple Web Server (SWS)
every once in a while (last time a few months ago) someone emails one of the mailing lists about searching for an example binary, mostly for:
- reverse engineering for vulnerabilities, as a study tool.
- testing fuzzers
some of these exist, but i asked my employer, beyond security, to release our test application, specific for testing fuzzing (built for the bestorm fuzzer). they agreed to release the http version, following their agreement to release our ani xml specification.
the gui allows you to choose what port your want to run it on, as well as which vulnerabilities should be “active”.
it is called simple web server or sws, and has the following vulnerabilities:
1. off-by-one in content-length (integer overflow/malloc issue)
2. overflow in user-agent
3. overflow in method
4. overflow in uri
5. overflow in host
6. overflow in version
7. overflow in complete packet
8. off by one in receive function (linefeed/carriage return issue)
9. overflow in authorization type
10. overflow in base64 decoded
11. overflow in username of authorization
12. overflow in password of authorization
13. overflow in body
14. cross site scripting
it can be found on beyond security’s website, here: