Comments (6)
.drop()
might create second-stage exploits. Calls get NOP'ed, next line check return value, return value is unitialized ... chocapic ?
Thus yes, making .drop()
actually bailout
by default sounds a good idea :)
from snuffleupagus.
Shall we even keep the current .drop
behaviour?
from snuffleupagus.
maybe replace .drop()
with .nop()
and make .bailout()
a thing ? :)
from snuffleupagus.
I prefer to keep it simple, and to not give people opportunities to shoot themselves in the foot by introducing second-order vulnerabilities.
from snuffleupagus.
Apparently, the implementation isn't complete, since the test tests/disabled_functions_chain.phpt
should currently fail.
from snuffleupagus.
Done in 5c84131
from snuffleupagus.
Related Issues (20)
- [0.9.0] borked tests with PHP 8.2 HOT 5
- Truncated & Sanitized logs HOT 5
- Crash at ZEND_BIND_STATIC_SPEC_CV_UNUSED_HANDLER HOT 3
- Multiple cookie SameSite enforcement through regex HOT 3
- Error after loading 0.9.0 version compiled on php 7.3.33 zts. HOT 6
- readonly_exec + phar archives seems to not work
- Rule parsing crash HOT 1
- PHP 8.2 support HOT 4
- snuffleupagus.ini is installed to PHP 8.1 folder on 8.2 system
- .deb doesn't ship PHP8 rules HOT 1
- undefined symbol: PHP_SHA256Init HOT 6
- PHP 8.3 compatibility HOT 3
- XXE and Nextcloud HOT 2
- none-standard symbols brake executions of rules HOT 2
- upgrading from older versions to latest HOT 1
- Snuffleupagus did;nt work as expected HOT 3
- Snuffleupagus for php 7.4 latest HOT 2
- Clarify `match` comparisson for filters
- Support filter `param` multiple times HOT 3
- SP doesn't work with phar files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snuffleupagus.