Edward Minnix III
58d8a2d77f
Merge pull request #13899 from egregius313/egregius313/random-nextbytes-typo-fix
...
Java: Fix typo in `StdlibRandomSource::getOutput`
2023-08-07 07:36:44 -04:00
Tom Hvitved
2126ab0dde
Merge pull request #13901 from hvitved/dataflow/refactor
...
Data flow: Refactor shared library
2023-08-07 13:22:53 +02:00
Michael Nebel
e62ec888c0
Merge pull request #13506 from michaelnebel/java/threatmodels
...
Java: Threat Models
2023-08-07 12:50:01 +02:00
Tom Hvitved
693970f243
Java: Adjust to data flow refactor
2023-08-07 11:35:23 +02:00
Tony Torralba
43b9199734
Java: Improved JaxWsEndpoint::getARemoteMethod
2023-08-07 10:21:58 +02:00
Ed Minnix
fe4eef0bcb
Fix typo, replace getBytes with nextBytes
2023-08-07 00:16:47 -04:00
Jeroen Ketema
747cd1745a
Update all languages to use the shared taint-tracking library
2023-08-04 22:53:25 +02:00
Michael Nebel
d3eb9c1325
Java: Add release note and address review comments.
2023-08-04 13:36:43 +02:00
Anders Schack-Mulligen
84316c41a3
Java: Add more qldoc.
2023-08-03 10:04:06 +02:00
Anders Schack-Mulligen
90052a3ca2
Java: Add proper types for capture nodes.
2023-08-03 10:04:06 +02:00
Anders Schack-Mulligen
37455ec29e
Java: Replace ratpack test fix with general heuristic summary.
2023-08-03 10:04:06 +02:00
Anders Schack-Mulligen
c5990311ca
Java: Redesign and reimplement variable capture flow.
2023-08-03 10:04:06 +02:00
Anders Schack-Mulligen
a23e77ca58
Java: Disregard heap parameter in any-argument and any-parameter specs.
2023-08-03 10:04:05 +02:00
Anders Schack-Mulligen
d1a616a70a
Java: Add proper support for variable capture flow.
2023-08-03 10:04:02 +02:00
Mathias Vorreiter Pedersen
3007fdab5e
Sync identical files.
2023-08-02 14:33:33 +02:00
Anders Schack-Mulligen
7bc8bf616f
Merge pull request #13863 from aschackmull/dataflow/pack4
...
Dataflow: Move the shared library to a properly shared qlpack.
2023-08-02 14:19:49 +02:00
Anders Schack-Mulligen
c34c667e6b
Java: Adjust to use the qlpack data-flow api.
2023-08-01 13:47:09 +02:00
Anders Schack-Mulligen
d7ea60e137
Java: Move data flow lib.
2023-08-01 13:47:08 +02:00
Michael Nebel
a9bc23fa3e
Java: Add threat model configuration related extensible predicates and some initial tuples.
2023-08-01 12:56:13 +02:00
Michael Nebel
a8ccc8d980
Java: Update MaD internal documentation.
2023-08-01 12:03:44 +02:00
Michael Nebel
21ec83a197
Java: Add MaD support for With[out]Element.
2023-08-01 12:03:44 +02:00
Anders Schack-Mulligen
e87b8ba3d7
Java: Make the barrier in java/potentially-weak-cryptographic-algorithm less restrictive.
2023-07-31 14:28:53 +02:00
Tony Torralba
2cbb7ed296
Java: Add XXE sinks for MDHT
2023-07-31 11:13:17 +02:00
Tony Torralba
41f1315da9
Merge pull request #13772 from atorralba/atorralba/java/inputstream-wrapper-read-step
...
Java: Add taint steps for InputStream wrappers
2023-07-31 11:12:43 +02:00
Tony Torralba
08cba7dc5f
Merge pull request #13713 from pwntester/java/struts2_source_taint_inheriting
...
[Java] Implement field taint inheritance for Struts2 unmarshalled objects
2023-07-28 16:46:27 +02:00
Owen Mansel-Chan
a020189895
Merge pull request #13822 from owen-mc/dataflow/mergepathgraph3-signature-fix
...
Dataflow: MergePathGraph3 signature fix
2023-07-28 15:15:43 +01:00
Alvaro Muñoz
c3a2ae2943
Account for public fields/setters
2023-07-28 12:12:07 +02:00
Tony Torralba
c239a4399c
Changed Struts2ActionSupportClassFieldReadSource to be a FieldValueNode instead of a field read
2023-07-27 10:39:06 +02:00
Alvaro Muñoz
f3fc56294e
implement field taint inheritance for Struts2 unmarshalled objects
2023-07-27 10:39:06 +02:00
Tony Torralba
9d6bc76dc0
Merge pull request #13817 from atorralba/atorralba/java/non-static-fieldvaluenode-step
...
Java: Allow flow out of FieldValueNodes for non-static fields
2023-07-27 09:14:04 +02:00
Owen Mansel-Chan
9b2b58a823
Sync files
2023-07-26 21:48:10 +01:00
Ian Lynagh
532552a7ac
Merge pull request #13751 from igfoo/igfoo/getCompilationInfo
...
Java: Improve the diagnostics consistency query
2023-07-25 16:54:17 +01:00
Tony Torralba
b8b38e4bbe
Java: Allow flow out of FieldValueNodes for non-static fields
2023-07-25 15:37:41 +02:00
Tony Torralba
6c0d47f122
Update java/ql/lib/semmle/code/java/frameworks/InputStream.qll
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2023-07-24 08:49:37 +02:00
Tony Torralba
4e7438ac5c
Make sure that InputStreamWrapperCapturedLocalStep is indeed local
2023-07-24 08:49:37 +02:00
Tony Torralba
d3b3af8ae6
Re-adds jump step
...
Note that this causes FP flow in the call context test cases
2023-07-24 08:49:37 +02:00
Tony Torralba
36ff54b48b
Convert jump step into local step
...
Note that this has FNs in the test cases where the source is used locally in the nested classes' methods
2023-07-24 08:49:37 +02:00
Tony Torralba
f054f73836
Apply suggestions from code review
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2023-07-24 08:49:36 +02:00
Tony Torralba
1de68457ae
Move steps to InputStream.qll
2023-07-24 08:49:36 +02:00
Tony Torralba
0156fcc381
Apply suggestions from code review
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2023-07-24 08:49:36 +02:00
Tony Torralba
5330ce12cc
Use new TypeInputStream
2023-07-24 08:49:34 +02:00
Tony Torralba
00e0e5a61a
Java: Add taint step for InputStream wrappers
2023-07-24 08:48:04 +02:00
Tony Torralba
3d515b18df
Merge pull request #13769 from atorralba/atorralba/java/avoid-inputstream-low-confidence-dispatch
...
Java: Avoid low-confidence dispatch to InputStream methods
2023-07-21 10:42:34 +02:00
Geoffrey White
45a9d5bc7d
Java: QLDoc.
2023-07-20 11:53:52 +01:00
Geoffrey White
369f88beda
Java: Fix for multiple parse mode flags.
2023-07-20 11:49:54 +01:00
Anders Schack-Mulligen
95d17045c9
Dataflow: Sync.
2023-07-19 11:41:15 +02:00
Anders Schack-Mulligen
fd83b6afdb
Dataflow: Add support for not skipping configuration-specific nodes in big-step.
2023-07-19 11:41:15 +02:00
Tony Torralba
2dbbcc2413
Java: Avoid low-confidence dispatch to InputStream methods
...
Also adds a neutral model for `InputStream.read`, which offers a high-confidence alternative for this method.
2023-07-19 11:30:53 +02:00
Ian Lynagh
8a0286ec34
Java: Improve the diagnostics consistency query
...
Diagnostics can be easier to read if you see them in the order in which
they were generated. By selecting the compilation and indexes, they get
sorted by the testsuite driver.
d.getCompilationInfo(c, f, i) would be a bit more natural as
d = c.getDiagnostic(f, i), but currently we don't import Diagnostic into
the default ('import java') namespace, and I don't think it's worth
changing that for this.
2023-07-17 15:37:05 +01:00
Anders Schack-Mulligen
6770d2a49b
Java: Exclude source-to-source flow in 5 queries.
2023-07-17 09:06:49 +02:00