frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Insufficiently sanitized data allows unauthenticated access to FreePBX Admin

https://labs.watchtowr.com/you-already-have-our-personal-data-take-our-phone-calls-too-freepbx-cve-2025-57819/
38•Tiberium•2h ago

Comments

jsd1982•1h ago
Sanitization of data is such a strange security practice to me. It feels like any sort of vulnerability sensitive to data sanitization just boils down to a failure to properly encode or escape data into a target language that is susceptible to injection attacks e.g. SQL, HTML, javascript. Is there a real-world scenario where data sanitization is required where proper data encoding/escaping is not the better solution?
formerly_proven•1h ago
Improper design principles lead to improper programs.
ameixaseca•1h ago
Keep in mind this is PHP.

There are tons of languages and frameworks made by developers who know what they are doing that do not treat everything blindly like strings.

For SQL in particular, you should never build queries directly from user input - any modern database supports bind variables or parameters, which completely eliminate any need for sanitizing input.

I agree with you regarding sanitization, and I'd add further that having to sanitize input for security purposes is a big sign of code smell and an overall insecure code by design.

daneel_w•53m ago
>"Keep in mind this is PHP."

Has nothing to do with PHP. SQL injection mishaps is a developer problem, not a language problem. It happens everywhere.

9dev•12m ago
And tons of such frameworks have been written in PHP; prepared statements with an adapter-agnostic database connection layer are first-class citizens in PHP.
daneel_w•56m ago
>"Is there a real-world scenario where data sanitization is required where proper data encoding/escaping is not the better solution?"

In context of SQL queries which accept variable input, the only correct approach is to parameterize the queries, never to string-encode the variables. So, yes. But perhaps you implied parameterization as well.

Claude Code Analytics API

https://docs.anthropic.com/en/api/claude-code-analytics-api
1•tosh•56s ago•0 comments

New Prefill Specialised GPU – Nvidia Rubin CPX

https://semianalysis.com/2025/09/10/another-giant-leap-the-rubin-cpx-specialized-accelerator-rack/
1•gchadwick•3m ago•0 comments

AI-Personalized Welcome Messages for Website Visitors

https://peteallport.substack.com/p/ai-personalized-welcome-messages
1•peterallport•4m ago•0 comments

Show HN: Pgdbtemplate – fast PostgreSQL test databases in Go using templates

https://github.com/andrei-polukhin/pgdbtemplate
1•andrei-polukhin•5m ago•0 comments

What's Got into Stephen King?

https://notoneoffbritishisms.com/2025/09/10/whats-got-into-stephen-king/
1•jjgreen•8m ago•0 comments

A GitHub Co-Founder's Next Commit

https://opensourcepledge.com/blog/scott-chacon-github-gitbutler/
2•coloneltcb•12m ago•0 comments

Psychologist for Founders

https://www.marcosander.com
2•MarcoSander•12m ago•1 comments

From Org Charts to Work Charts: Building Clarity in the New Work World

https://www.clearwork.io/blog-posts/from-org-charts-to-work-charts-building-clarity-in-the-new-wo...
1•abrooks43•12m ago•1 comments

Show HN: TimeCopilot, forecasting agent with LLMs and foundation models

https://github.com/AzulGarza/timecopilot
3•azulgarzar•14m ago•0 comments

Show HN: Flox – Nvidia CUDA available for the Nix ecosystem

https://flox.dev/blog/the-flox-catalog-now-contains-nvidia-cuda/
6•ronef•17m ago•0 comments

Microsoft has become like an arsonist

https://arstechnica.com/security/2025/09/senator-blasts-microsoft-for-making-default-windows-vuln...
2•worik•24m ago•0 comments

Tufts Offers Free Tuition for Families Making Under $150k a Year

https://www.bloomberg.com/news/articles/2025-09-10/tufts-university-offers-free-tuition-for-famil...
2•toomuchtodo•26m ago•0 comments

The Amphora of Great Intelligence (AGI)

https://framapiaf.org/@davidrevoy/115180874986726269
1•goffi•30m ago•0 comments

Zero Trust in Reverse: Why the Definition of Zero Trust Is Only Half Full

https://threatresearch.ext.hp.com/zero-trust-in-reverse-why-the-current-definition-of-zero-trust-...
3•dexter_it•34m ago•0 comments

HN: Arambh Labs: agentic platform for cyber defense

https://arambhlabs.com/
1•nehagarg1209•35m ago•1 comments

San Francisco Gets an Invasive Billionaire-Bought Surveillance HQ

https://www.eff.org/deeplinks/2025/09/san-francisco-gets-invasive-billionaire-bought-surveillance-hq
4•Improvement•36m ago•0 comments

Network of agents collaborating through a publication/review system

https://github.com/spolu/srchd
1•spolu•38m ago•0 comments

Anonymity is dead and we're all content now

https://www.theverge.com/internet-culture/775740/anonymity-privacy-filming-viral-tiktok
4•ecliptik•39m ago•1 comments

Linter for Your Docs

6•gitgallery•45m ago•3 comments

Designing software architecture for parallel AI sessions

https://rashidazarang.com/c/software-architecture-for-parallel-ai
4•rashidae•45m ago•2 comments

OpenAI argues Canadian news publishers' lawsuit should be heard in U.S.

https://toronto.citynews.ca/2025/09/10/openai-argues-canadian-news-publishers-lawsuit-should-be-h...
4•harwoodr•45m ago•0 comments

Cease and Desist: Cami Research wants me to pay $100k

https://www.youtube.com/watch?v=BX6nUwDeHps
2•SilverElfin•45m ago•0 comments

Firefox Is Falling Behind (not in market share)

https://blog.velocifyer.com/Posts/0,1,2025-8-9,Firefox+is+falling+behind.html
2•Velocifyer•49m ago•0 comments

"The Irish Enlightenment". What was it?

https://twitter.com/patrickc/status/1965030023859253257
1•adriancooney•50m ago•0 comments

Ask HN: Were programmers more surprised than general public by ChatGPT in 2022?

3•amichail•54m ago•2 comments

Show HN: Package Search MCP – enable agents to search dependency source code

https://trychroma.com/package-search
11•HammadB•54m ago•0 comments

The Point of Politics Is to Convince People, Not Grandstand

https://jacobin.com/2025/08/left-politics-maximalism-socialism-reform/
4•PaulHoule•56m ago•0 comments

OpenAI mulls data center construction in Korea

https://www.koreatimes.co.kr/business/tech-science/20250910/openai-mulls-data-center-construction...
1•giuliomagnifico•58m ago•0 comments

What's New in Kotlin 2.2.20

https://kotlinlang.org/docs/whatsnew2220.html
3•Bogdanp•58m ago•0 comments

'Clearest sign' yet of ancient life on Mars

https://www.nature.com/articles/s41586-025-09413-0
47•stevenjgarner•59m ago•4 comments