OWASP / OWASP/SecurityShepherd

What address for server in 'untrusted input' and admin ?

Open
#459 2 comments 0 reactions 1 assignee View on GitHub

@SeanDuggan is already working on this.

Since Nov 26, 2018.

Bug Mobile
Dominant language
Java
Stars
1.5k
Forks
515
Avg merge
3h 46m
Merged PRs (30d)
1

Description

Hello,

Now I'm on "Mobile Security Decisions via Untrusted Input" lesson. It was OK to launch the '********' activity, but it failed to fetch the result.

  • first problem I encountered is that "address" field in preferences doesn't work if you only put IP or dns domain name (you have to prepend http:// or https:// to the server address), but the error message doesn't tell you this way (it just says "address should not be null" or something like that) ... maybe renaming this option would make it more clear that protocol is needed ? "Server URI" ? Set default value with http:// ?
  • second problem: i'm unable to figure out which server is supposed to give the answer. By running nc -l 80on my machine and setting address to my IP, I was able to grasp an API key ('mobileKey'), but this is not the answer key, so where is the server supposed to answer to such a request ? (I tried http://my_owasp_instance/, of course, but it failed because of invalid certificates as owasp instance redirects to https, and from curl -k it gives me 404). Was there an initial value set for "server address" that I erased in my previous attempts ? (and is there a way to recover it without downloading the full OVA again ? - yes, I didn't made a copy...).

Of course, if this is part of the challenge, just tell me and close this report.

Note: digging into the code, the same API calls are made from "ShepherdLogin" app (MobileShepherd/ShepherdLogin/app/src/main/java/com/mobshep/shepherdlogin/LoggedIn.java)

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.