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/
45•Tiberium•4h ago

Comments

jsd1982•3h 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•3h ago
Improper design principles lead to improper programs.
ameixaseca•3h 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•2h 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•2h 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•2h 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.

jsd1982•1h ago
Yes, parameterization was implied.

ChatGPT Developer Mode: Full MCP client access

https://platform.openai.com/docs/guides/developer-mode
331•meetpateltech•6h ago•168 comments

Show HN: Term.everything – Run any GUI app in the terminal

https://github.com/mmulet/term.everything
554•mmulet•1d ago•88 comments

KDE launches its own distribution (again)

https://lwn.net/SubscriberLink/1037166/caa6979c16a99c9e/
22•Bogdanp•47m ago•7 comments

Pontevedra, Spain declares its entire urban area a "reduced traffic zone"

https://www.greeneuropeanjournal.eu/made-for-people-not-cars-reclaiming-european-cities/
590•robtherobber•12h ago•759 comments

Christie's Deletes Digital Art Department

https://news.artnet.com/market/christies-scraps-digital-art-department-2685784
15•recursive4•53m ago•5 comments

Defeating Nondeterminism in LLM Inference

https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
160•jxmorris12•5h ago•55 comments

The HackberryPi CM5 handheld computer

https://github.com/ZitaoTech/HackberryPiCM5
121•kristianpaul•2d ago•37 comments

Launch HN: Recall.ai (YC W20) – API for meeting recordings and transcripts

50•davidgu•6h ago•28 comments

Mux (YC W16) Is Hiring Engineering ICs and Managers

https://mux.com/jobs
1•mmcclure•1h ago

OrioleDB Patent: now freely available to the Postgres community

https://supabase.com/blog/orioledb-patent-free
345•tosh•11h ago•115 comments

Dotter: Dotfile manager and templater written in Rust

https://github.com/SuperCuber/dotter
41•nateb2022•3h ago•19 comments

Longhorn – A Kubernetes-Native Filesystem

https://vegard.blog.engen.priv.no/?p=518
16•jandeboevrie•3d ago•9 comments

Show HN: Haystack – Review pull requests like you wrote them yourself

https://haystackeditor.com
43•akshaysg•4h ago•23 comments

Clojure's Solutions to the Expression Problem

https://www.infoq.com/presentations/Clojure-Expression-Problem/
33•adityaathalye•3d ago•1 comments

I didn't bring my son to a museum to look at screens

https://sethpurcell.com/writing/screens-in-museums/
679•arch_deluxe•6h ago•243 comments

Jiratui – A Textual UI for interacting with Atlassian Jira from your shell

https://jiratui.sh/
101•gjvc•7h ago•27 comments

Show HN: HumanAlarm – Real people knock on your door to wake you up

https://humanalarm.com
14•soelost•1h ago•17 comments

Harvey Mudd Miniature Machine

https://www.cs.hmc.edu/~cs5grad/cs5/hmmm/documentation/documentation.html
37•nill0•2d ago•13 comments

"No Tax on Tips" Includes Digital Creators, Too

https://www.hollywoodreporter.com/business/business-news/no-tax-on-tips-guidance-creators-trump-t...
52•aspenmayer•6h ago•69 comments

Picat: A Logic-based Multi-paradigm Language(2014) [pdf]

https://logicprogramming.org/wp-content/uploads/2014/07/alp14.pdf
3•b-man•2d ago•0 comments

Show HN: TailGuard – Bridge your WireGuard router into Tailscale via a container

https://github.com/juhovh/tailguard
84•juhovh•18h ago•22 comments

Kerberoasting

https://blog.cryptographyengineering.com/2025/09/10/kerberoasting/
132•feross•10h ago•47 comments

UGMM-NN: Univariate Gaussian Mixture Model Neural Network

https://arxiv.org/abs/2509.07569
23•zakeria•3h ago•6 comments

Zoox robotaxi launches in Las Vegas

https://zoox.com/journal/las-vegas
153•krschultz•7h ago•198 comments

Charlie Kirk killed at event in Utah

https://www.nbcnews.com/news/us-news/live-blog/live-updates-shooting-charlie-kirk-event-utah-rcna...
434•david927•3h ago•888 comments

The origin story of merge queues

https://mergify.com/blog/the-origin-story-of-merge-queues
64•jd__•6h ago•19 comments

Things you can do with a debugger but not with print debugging

https://mahesh-hegde.github.io/posts/what_debugger_can/
184•never_inline•3d ago•182 comments

Tarsnap is cozy

https://til.andrew-quinn.me/posts/tarsnap-is-cozy/
86•hiAndrewQuinn•10h ago•58 comments

Semantic Line Breaks (2017)

https://sembr.org
72•Bogdanp•3d ago•49 comments

TikTok has turned culture into a feedback loop of impulse and machine learning

https://www.thenexus.media/tiktok-won-now-everything-is-60-seconds/
249•natalie3p•6h ago•182 comments