Main Koha release repository https://koha-community.org
Find a file
Chris Cormack 97aa7492ef
Bug 36520: Sanitize input in opac-sendbasket.pl
To test
1/ Add some items to your cart in the opac
2/ Choose send cart
3/ Open firefox developer tools and switch to the network tab
4/ Send cart
5/ In the network tab, find the post request and choose copy as curl
6/ Edit the curl command to add )+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))x)--+-  to the bib_list parameter
7/ Run the curl notice it takes a long time to respond, if you want to check run the curl without the above part added
8/ Apply the patch and restart plack
9/ Run the modified curl and notice no longer the slow down
10/ Test in browser and make sure the basket is still sent

Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-06-20 17:55:36 +02:00
acqui Bug 36620: (QA follow-up) Tidy controller 2024-05-17 10:36:31 +02:00
admin Bug 36453: Categories admin page: 2024-06-11 09:17:18 +01:00
api Bug 37021: Change item_id type as integer in holds endpoint 2024-06-11 11:54:48 +01:00
authorities
basket
bin
bookings
C4 Bug 36520: Prevent SQL injection in GetPreparedLetter 2024-06-20 17:55:35 +02:00
catalogue Bug 35294: Fix typos in catalogue code comments 2024-06-13 14:26:22 +01:00
cataloguing Bug 36794: Illegitimate modification of biblionumber subfield content (999 $c) 2024-05-13 10:36:11 +02:00
circ
clubs
course_reserves
debian Bug 36948: (follow-up) Add chomp to sip log4perl config 2024-06-11 08:10:05 +01:00
docs 24.05.00: Update history.txt 2024-05-27 18:26:43 +02:00
erm
errors
etc Bug 36948: (follow-up) Allow IPv[46] in port config 2024-06-11 08:10:01 +01:00
ill
installer Bug 36330: DBRev 24.06.00.007 2024-06-13 14:30:49 +01:00
Koha Bug 36367: Remove call to non-existent subroutine new_userenv 2024-06-14 11:17:19 +01:00
koha-tmpl Bug 36459: Do not duplicate duedatespec IDs 2024-06-14 11:15:43 +01:00
labels Bug 36931: Fix label-item-search.pl by removing CSRF requirement 2024-05-24 15:36:46 +02:00
lib
members
misc Bug 36367: Remove context stack 2024-06-14 11:17:18 +01:00
offline_circ
opac Bug 36520: Sanitize input in opac-sendbasket.pl 2024-06-20 17:55:36 +02:00
patron_lists
patroncards Bug 36877: (follow-up) Fix op eq edit to op eq edit_form in edit-batch.pl 2024-05-17 12:03:52 +02:00
plugins
pos
preservation
recalls
reports
reserve
reviews
rotating_collections
serials
services
skel
suggestion
svc
t Bug 36520: Add tests 2024-06-20 17:55:35 +02:00
tags
tools
virtualshelves Bug 36858: Remove warnings 2024-05-22 16:18:11 +02:00
xt
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap Bug 36943: (follow-up) 24.05.00 - Update .mailmap 2024-05-24 15:36:40 +02:00
.perlcriticrc
.perltidyrc
.prettierrc.js
.proverc.dist
.stylelintrc.json
about.pl
app.psgi Bug 36149: Add userenv middleware to app.psgi 2024-05-14 15:04:37 -03:00
build-resources.PL
changelanguage.pl
cpanfile
cypress.config.ts
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 36330: DBRev 24.06.00.007 2024-06-13 14:30:49 +01:00
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
package.json
README
README.md
README.robots
rewrite-config.PL
tsconfig.json
webpack.config.js
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo