[GH-ISSUE #12] security problem #12

Closed
opened 2026-02-26 01:34:55 +03:00 by kerem · 5 comments
Owner

Originally created by @shel3over on GitHub (Nov 5, 2013).
Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/12

the ckeditor used in the script can be used to upload php files and this can very dangerous for the website

you can check the web site of the demo & you can find lots of file uploaded there ( php shells )

Originally created by @shel3over on GitHub (Nov 5, 2013). Original GitHub issue: https://github.com/JLiscom/OpenNote/issues/12 the ckeditor used in the script can be used to upload php files and this can very dangerous for the website you can check the web site of the demo & you can find lots of file uploaded there ( php shells )
kerem 2026-02-26 01:34:55 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Have you ever known about something and completely forgot it until something went terribly wrong?

Disabled in the demo. In future I wont allow direct access to files.

<!-- gh-comment-id:27842481 --> @JLiscom commented on GitHub (Nov 6, 2013): Have you ever known about something and completely forgot it until something went terribly wrong? Disabled in the demo. In future I wont allow direct access to files.
Author
Owner

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

@FoxUSA if you dont have time to work on it i'm happy to help :)

<!-- gh-comment-id:27844152 --> @shel3over commented on GitHub (Nov 6, 2013): @FoxUSA if you dont have time to work on it i'm happy to help :)
Author
Owner

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

I wont stop you from taking a crack at it. I was thinking of creating a db table to track the original file name, and a random file name to be stored on the disk. A php script will then be used to retrieve the file from an id. I like this approach because it will also allow me to restrict downloading to the user that uploaded and at some point who the user shares it with.

Or, upload all the files into the database. I am on the fence with that approach.

<!-- gh-comment-id:28293740 --> @JLiscom commented on GitHub (Nov 12, 2013): I wont stop you from taking a crack at it. I was thinking of creating a db table to track the original file name, and a random file name to be stored on the disk. A php script will then be used to retrieve the file from an id. I like this approach because it will also allow me to restrict downloading to the user that uploaded and at some point who the user shares it with. Or, upload all the files into the database. I am on the fence with that approach.
Author
Owner

@shel3over commented on GitHub (Nov 12, 2013):

@FoxUSA a very nice idea :)

<!-- gh-comment-id:28331296 --> @shel3over commented on GitHub (Nov 12, 2013): @FoxUSA a very nice idea :)
Author
Owner

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

support in 13.11.6

<!-- gh-comment-id:28641859 --> @JLiscom commented on GitHub (Nov 17, 2013): support in 13.11.6
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#12
No description provided.