Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
CVE-2026-35414 — Demonstra uma prova de conceito para o CVE-2026-35414, mostrando uma versão vulnerável e uma corrigida da lógica de correspondência de principal do SSH para ilustrar a falha. | Kitploit
Ferramentas/GitHubGitHub/killercd/cve-2026-35414
Análise EstáticaScanners de VulnerabilidadesAnálise de VulnerabilidadesAnálise de CódigoExploração
GitHubkillercd/cve-2026-35414

CVE-2026-35414

Demonstra uma prova de conceito para o CVE-2026-35414, mostrando uma versão vulnerável e uma corrigida da lógica de correspondência de principal do SSH para ilustrar a falha.

Ver Repositório
15há 4 mesesAinda não revisado

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar

CVE-2026-35414

Bloco de vulnerabilidade CVE-2026-35414

auth2-pubkeyfile.c (vulnerável)

root@kitploit:~
static int
match_principals_option(const char *principal_list, struct sshkey_cert *cert)
{
	char *result;
	u_int i;

	/* XXX percent_expand() sequences for authorized_principals? */

	for (i = 0; i < cert->nprincipals; i++) {
		if ((result = match_list(cert->principals[i],
		    principal_list, NULL)) != NULL) {
			debug3("matched principal from key options \"%.100s\"",
			    result);
			free(result);
			return 1;
		}
	}
	return 0;
}

auth2-pubkeyfile.c (corrigido)

root@kitploit:~
static int
match_principals_option(const char *principal_list, struct sshkey_cert *cert)
{
	char *list, *olist, *entry;
	u_int i;

	olist = list = xstrdup(principal_list);
	for (;;) {
		if ((entry = strsep(&list, ",")) == NULL || *entry == '\0')
			break;
		for (i = 0; i < cert->nprincipals; i++) {
			if (strcmp(entry, cert->principals[i]) == 0) {
				debug3("matched principal from key i"
				    "options \"%.100s\"", entry);
				free(olist);
				return 1;
			}
		}
	}
	free(olist);
	return 0;
}
Baixar ferramenta