OculusCyber Logo

OculusCyber

Home

Browse Topics


Articles

Server‑Side Request Forgery (SSRF)

You trusting user-supplied URLs? That's trash. SSRF lets attackers make your server talk to internal services, cloud metadata endpoints, or arbitrary ...

By Oculus

•

Nov 9, 2025

Security Misconfiguration

Security Misconfiguration is one of the most common and lethal Java issues. It's when developers deploy code securely written but insecurely conf...

By Oculus

•

Nov 9, 2025

OWASP: Insecure Design

Bad Example — Insecure Design Scenario A banking app lets users transfer money by trusting the "fromAccountId" in the request body . No one thought:...

By Admin

•

Nov 9, 2025

SQL Injection A bad code and Good Fix Example

Bad example — classic SQL Injection (trash) // BAD: vulnerable to SQL Injection // Example: /login?username=admin'--&password=whatever public class ...

By Admin

•

Nov 9, 2025

Cryptographic Failures

Bad Example (Cryptographic Failure) import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; import java.util.Base64; public class Weak...

By Admin

•

Nov 9, 2025

Broken Access Control : Vulnerable and Fixed Code Examples

Bad Example (Broken Access Control) // BAD: Anyone can access any user profile by changing the userId in the request @WebServlet("/userProfile") pub...

By Oculus

•

Nov 9, 2025