# Don't get hacked!

- Speaker: [Ran Bar Zik](/wiki/speakers/ran-bar-zik.md)
- Event: [Reversim Summit 2024](/wiki/years/2024.md)
- Video: https://www.youtube.com/watch?v=6hdvLeHzL88
- Transcript: [/transcripts/2024/03-6hdvLeHzL88.md](/transcripts/2024/03-6hdvLeHzL88.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Security](/wiki/topics/security.md), [Software Engineering](/wiki/topics/software-engineering.md), [Data Science](/wiki/topics/data-science.md), [DevOps](/wiki/topics/devops.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker shares humorous yet alarming experiences regarding software security vulnerabilities, demonstrating how easily systems can be breached using just a web browser. Through real-world examples involving government and private sector databases, the speaker highlights common pitfalls such as exposed debuggers, hardcoded credentials, and poor configuration management. The main argument is that basic security awareness and simple defensive hygiene can prevent catastrophic data leaks. Ultimately, the audience learns to recognize these everyday security smells and how to handle vulnerability reports responsibly.

## Key points

- [0:00](https://www.youtube.com/watch?v=6hdvLeHzL88) The speaker introduces themselves as a developer, journalist, and blogger rather than a formal security expert.
- [0:00](https://www.youtube.com/watch?v=6hdvLeHzL88) A personal story illustrates the shock of having a freshly deployed feature hacked immediately after release.
- [0:00](https://www.youtube.com/watch?v=6hdvLeHzL88) Simple web browsing tools are often all it takes to uncover massive data breaches, such as exposed JSON files containing millions of citizen records.
- [12:14](https://www.youtube.com/watch?v=6hdvLeHzL88&t=734s) Common configuration mistakes like placing credentials in publicly accessible XML files lead to severe security flaws.
- [17:29](https://www.youtube.com/watch?v=6hdvLeHzL88&t=1049s) HTTP headers that excessively reveal server versions or deprecated technologies act as a roadmap for attackers.
- [21:55](https://www.youtube.com/watch?v=6hdvLeHzL88&t=1315s) Leaving debuggers or default log URLs exposed in production environments allows unauthorized users to extract sensitive session cookies and administrative access.
- [29:16](https://www.youtube.com/watch?v=6hdvLeHzL88&t=1756s) Organizations should properly investigate vulnerability reports instead of dismissing or threatening the researchers who discover them.

## Takeaways

- Never rely on obscurity alone; assume that exposed configuration files, debuggers, and source code will be found.
- Pay attention to basic security smells, such as verbose error stack traces and revealing HTTP response headers.
- Establish clear and welcoming channels for security researchers and users to report vulnerabilities responsibly.

## Questions this talk answers

- How can developers find and fix exposed configuration files and open debuggers before attackers do?
- What are the best practices for handling vulnerability reports from external researchers?
- How do simple information leaks in HTTP headers or error messages contribute to system compromises?

## Technologies

PHP, XML, Git, HTTP

## Tags

best practices, data leaks, devops, secure coding, vulnerability disclosure, web security
