[GH-ISSUE #16] Error handling #16

Closed
opened 2026-02-26 01:34:56 +03:00 by kerem · 1 comment
Owner

Originally created by @kwilliams on GitHub (Nov 6, 2013).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/16

The demo has a nasty information disclosure problem:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'starlgco_Note'@'localhost' to database 'starlgco_OpenNote'' in /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php:50 Stack trace: #0 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php(50): PDO->__construct('mysql:host=loca...', 'starlgco_Note', 'Kt,Lp5D]UhUW') #1 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php(82): Core::mysqlConnect() #2 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/login/Authenticater.php(17): Core::query('SELECT COUNT(*)...', Array) #3 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/login/ajax.php(14): Authenticater::checkAvailability('test123') #4 {main} thrown in /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php on line 50
Originally created by @kwilliams on GitHub (Nov 6, 2013). Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/16 The demo has a nasty information disclosure problem: ``` Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'starlgco_Note'@'localhost' to database 'starlgco_OpenNote'' in /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php:50 Stack trace: #0 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php(50): PDO->__construct('mysql:host=loca...', 'starlgco_Note', 'Kt,Lp5D]UhUW') #1 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php(82): Core::mysqlConnect() #2 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/login/Authenticater.php(17): Core::query('SELECT COUNT(*)...', Array) #3 /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/login/ajax.php(14): Authenticater::checkAvailability('test123') #4 {main} thrown in /home4/starlgco/public_html/apps/OpenNote/OpenNote/modules/core/Common.php on line 50 ```
kerem 2026-02-26 01:34:56 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@JLiscom commented on GitHub (Nov 6, 2013):

Tell me something I dont know

<!-- gh-comment-id:27842414 --> @JLiscom commented on GitHub (Nov 6, 2013): Tell me something I dont know
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OpenNote-JLiscom#16
No description provided.