Hunt prep
Before you test Legal Robot
What 133 disclosed reports say about Legal Robot: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 1
- median public bounty
- $40
- highest public bounty
- $40
Gaps worth testing 14
Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.
-
1
Re-test 2FA flows for bypass and enumeration variants
Account takeover Read the lesson
The program has a large cluster of 2FA findings covering manual entry encoding, missing issuer, recovery codes, user enumeration via login and reset, and multiple sessions. Test the current 2FA enrolment, verification, recovery and disable flows for the same root causes in adjacent steps, such as whether an OTP check can be skipped by changing method or replaying a response, and whether recovery codes are single-use and rate limited.
-
2
Password reset token lifecycle and reuse
Account takeover Read the lesson
Several reports cover reset token issues, session fixation on the reset page, referer leakage and access control on the reset form. Test whether reset tokens are single-use, expire correctly, are invalidated after a password change or email change, and whether the reset endpoint enforces rate limiting and consistent errors.
-
3
Email change and verification logic flaws
Account takeover Read the lesson
Reports show logic issues in the email change process, bypass of email verification at registration, and invalid email verification. Test the email change flow for whether confirmation goes to the old address, whether the account becomes verified for an unowned address, and whether changing email before confirming leaves a verified state.
-
4
Password change access control and session handling
Account takeover Read the lesson
Reports cover missing access control at password change, change password logic inversion, session fixation and a fixed session after change. Test whether the current password is required, whether other sessions are revoked after a change, and whether the change endpoint can be reached without proper authorisation.
-
5
WebSocket origin validation and data exposure
The program has multiple WebSocket findings including cross-site hijacking and user information sent to the client. Test the current WebSocket handshake for Origin validation, whether unauthenticated connections receive user data, and whether messages can trigger state changes cross-origin.
Backed byCross Site WebSocket Hijacking (2017) cross site web socket hijacking (2017) The websocket traffic is not secure enough (2017)+1 more report
From the lessons: Connect to the WebSocket endpoint from a page on another origin and ch...; WebSocket handshake endpoints.; OAuth integration initiation and callback endpoints.
-
6
Profile field validation and IDOR on update
Reports show profile field validation bypass, null byte and meta character acceptance, and an IDOR allowing update of any profile. Test the profile update endpoint for object identifier manipulation, field length limits, and whether validation differs between create and update paths.
-
7
S3 bucket and cloud storage exposure variants
Info disclosure Read the lesson
Multiple reports cover public S3 bucket listing and ACL misconfiguration. Test other buckets and cloud storage paths associated with the product, including test and UAT environments, for public listing, ACL misconfiguration and directory listing, and check whether security headers are missing on bucket-hosted content.
Backed byAWS hosting bucket for Legal Robots set as public browse and lis... (2021) Legal Robot AWS S3 Bucket Directory Listing (2017) S3 ACL misconfiguration (2017)From the lessons: Request directory paths on download servers and check whether director...
-
8
Subdomain takeover across remaining DNS records
Subdomain takeover Read the lesson
Reports show takeover of api.legalrobot.com via Modulus.io and of legalrobot.co.za, plus a mail subdomain misconfiguration. Enumerate current subdomains and DNS records for dangling CNAMEs to third-party services and check whether any can still be claimed.
Backed bySubdomain takeover at api.legalrobot.com due to non-used domain... (2016) Domain takeover (legalrobot.co.za) (2017) Subdomain misconfiguration [mail.legalrobot.com] (2017)+1 more report
From the lessons: Broken outbound links on public sites, where an expired domain can be...; Find outbound links on a public site that point to expired or unregist...
-
9
Clickjacking on state-changing pages
Clickjacking reports cover the app, an information submit form, the UAT mailboxes and S3-hosted content. Test current pages, especially account settings, email change and password change, for missing frame-ancestors or X-Frame-Options, and consider chaining a framed action with another weakness.
Backed byClickjacking in Legalrobot app (2017) Click Jacking (2016) UI Redressing ( ClickJacking ) Issue on Information submit form (2016)From the lessons: Check whether the response includes X-Frame-Options or a frame-ancesto...; Account settings pages were a place where a click could change email,...; Chain a framed action with another weakness and check whether the resu...; Login pages were a common target for framing and credential capture.
-
10
CRLF and header injection in redirect and cookie paths
Reports show header injection leading to open redirect and arbitrary values in a reset password cookie via CRLF injection. Test redirect parameters, cookie-setting endpoints and any user-controlled header values for CRLF injection and open redirect behaviour.
Backed byHeader Injection In app.legalrobot.com (2018) Add arbitrary value in reset password cookie (2018) Chain the vulnerabilities and take your report impact on the moo...From the lessons: Chain a CSRF with an open redirect to take over an account.; Try chaining a CSRF with an open redirect to reach account takeover.
-
11
User enumeration across login, reset and registration
Info disclosure Read the lesson
Several reports cover user enumeration from login errors, password reset and registration. Test current login, registration, password reset and 2FA endpoints for response differences, timing differences and distinguishable errors that reveal registered accounts.
Backed byUser enumeration from failed login error message (2017) User enumeration (2017) - Guessing registered users in legalrobot.com (2016)+3 more reports
- 2FA user enumeration via password reset (2017)
- 2FA user enumeration via login (2017)
- Improper error message (2017)
From the lessons: Measure response times for valid and invalid API tokens to see whether...
-
12
CORS and CSP configuration on app endpoints
Reports cover CORS misconfiguration and a CSP that includes unsafe-inline. Test current API and app endpoints for permissive CORS rules that allow cross-origin reads, and review the CSP for bypasses given the existing inline allowance.
Backed byCORS (Cross-Origin Resource Sharing) (2016) CSP script-src includes "unsafe-inline" (2017) Legal | Application is Missing CSP(Content Security Policy) Head... (2016)From the lessons: Check whether permissive CORS rules allow cross-origin reads that enab...; Use permissive CORS rules to read responses or execute functions cross...
-
13
Rate limiting on authentication and token endpoints
Business logic Read the lesson
Reports show missing rate limiting on email confirmation and password reset links, and information disclosure on the rate limit mechanism. Test login, OTP, reset token and email confirmation endpoints for missing or bypassable rate limits and for responses that reveal the limiter state.
-
14
Race conditions in account and verification flows
Race condition Read the lesson
The program has many account lifecycle findings but no race condition reports. Test email change, OTP verification, 2FA reset and invitation or verification count endpoints with parallel requests to see whether application-level checks hold without database constraints.
Backed byLogic issue in email change process (2017) Bypass email verification when register new account (2017) Non-functional 2FA recovery codes (2017)+1 more report
From the lessons: Send one email change request with your own address and one with the v...; Send many simultaneous requests through a captcha or OTP check and loo...; Send several parallel 2FA reset requests, cancel one, and check whethe...; Application-level checks without database constraints; Send concurrent requests that rely on application-level checks and che...; 2FA reset and MFA verification flows
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| CSRF lesson | 5 | 1 | $40 | $40 | $40 |
| Info disclosure lesson | 25 | 0 | – | – | $0 |
| Business logic lesson | 23 | 0 | – | – | $0 |
| Account takeover lesson | 20 | 0 | – | – | $0 |
| Misconfiguration lesson | 11 | 0 | – | – | $0 |
| UI spoofing lesson | 9 | 0 | – | – | $0 |
| Crypto lesson | 5 | 0 | – | – | $0 |
| Access control lesson | 5 | 0 | – | – | $0 |
| XSS lesson | 2 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Open redirect lesson | 2 | 0 | – | – | $0 |
| Subdomain takeover lesson | 2 | 0 | – | – | $0 |
| RCE lesson | 1 | 0 | – | – | $0 |
| Smuggling / CRLF lesson | 1 | 0 | – | – | $0 |
| SQL injection lesson | 1 | 0 | – | – | $0 |
| IDOR lesson | 1 | 0 | – | – | $0 |
| CORS lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
AWS hosting bucket for Legal Robots set as public browse and list contents: s3://legalrobot
The bucket permissions should be changed to disallow public listing of contents.
Disclosed
-
Null Byte Injection in all fields of Profile
The application should block control characters from being saved on the back-end when included in user input, and suppress the output and rendering of previously submitted control characters.
Disclosed
-
Header Injection In app.legalrobot.com
Block the abusive host and similar impactful hosts, and use a strict WAF.
Disclosed
-
Broken links for stale domains may be leveraged for Phishing, Misinformation, Defaming
The broken link should be removed or updated to avoid the risk.
Disclosed
-
External links should be served in HTTPS.
Using HTTPS for external links where possible would avoid cookies being sent before the redirect.
Disclosed
-
Allowance of Meta/Null characters
The application should disallow null bytes in the name and bio fields by filtering full_name to only unicode word characters and a limited set of special characters.
Disclosed
-
Privilege Escalation to Admin-level Account
The issue was fixed by the Meteor team in the allow-deny package, and the company implemented a short-term fix using triggers on the same day.
Disclosed
-
Issues with Forgot password Error Handling
The forgot-password flow should return and display an error message, such as a 403, for invalid email addresses, matching the login failure behaviour.
Disclosed
-
Password Complexity
The registration form should enforce a password policy requiring at least three of four character types: lowercase, uppercase, numbers, and special characters.
Disclosed
-
Failed OutLink on Terms of Service
The link should be checked and corrected.
Disclosed
-
Futureoflife organization URL should be HTTPS
The outbound link should be changed to use HTTPS so the browser never makes an unencrypted request.
Disclosed
-
observer.com URL should HTTPS
The link should use HTTPS where possible so the cookie is not sent over plaintext.
Disclosed
-
Logic issue in email change process
The fix was to check that both the current address confirms the change and the new address is verified before proceeding, and to block sign-in attempts using the new email until it is verified.
Disclosed
-
User enumeration from failed login error message
The registration flow was changed so that attempts to register an existing account are redirected to the same pending-verification screen as successful registrations.
Disclosed
-
Improper error message
The error messages should be updated to clearly state the password policy requirements so users know what to correct.
Disclosed