-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no security/authentication with the api, your list management system is open to anyone #33
Comments
Interesting. Thanks. As a plugin, the authentication is supposedly done by phpList. I will check what's going on. |
Can you remove the Cookie: browsetrail=%3Fpage%3Dplugins%26tk%3D0177899; PHPSESSID=RAY%2ChQo8PYG%2CEUHdeH9Xi3 from the request and try again? |
Well spotted. It looks like the application cookie was authenticating/allowing the call. Still a few inconsistent facts
In the unit tests https://github.com/phpList/phplist-plugin-restapi/blob/master/tests/phpunit/restapi.php and also in the doc at page This shows a few different problems.
|
that's great, thanks. We will look into this. |
There is no security on the restapi, despite what the documentation and tests show. i.e. I am able to get the news lists using the listsGet with no login, secret or password.
I am surprised something like this is even possible and not spotted by anyone. See HTTP Trace below
If I enable the
restapi-test
i get a development login and password but nothing like this is available withrestapi
The text was updated successfully, but these errors were encountered: